#CB227C
Color Details
HEX
#CB227C
RGB
rgb(203, 34, 124)
HSL
hsl(328, 71%, 46%)
CMYK
cmyk(0%, 83%, 39%, 20%)
Best text on this color
#FFFFFF (CR 5.17:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #CB227C
#CB227C converts to RGB(203, 34, 124) and HSL(328, 71%, 46%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#CB227C FAQs
What is the RGB value of #CB227C?
RGB: 203, 34, 124. Copy as CSS:
rgb(203, 34, 124)
Is #CB227C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #CB227C?
Complement: #22c970.
Does #CB227C have good contrast on white or black?
On white: 5.17:1 (AA (normal text)).
On black: 4.06:1 (AA (large text)).