#CB287C
A color in the Purple, Crimson, Magenta family
#cb287c is a color in the Purple, Crimson, Magenta family: RGB(203, 40, 124), HSL(329°, 67%, 48%), CMYK(0%, 80%, 39%, 20%). Closest named color: mediumvioletred. Contrast is 5.08:1 on white and 4.13:1 on black. See shades, harmonies and color-blindness simulation.
Color Codes
| HEX | #cb287c |
|---|---|
| RGB | rgb(203 40 124) |
| RGB (legacy) | rgb(203, 40, 124) |
| RGB % | rgb(80% 16% 49%) |
| HSL | hsl(329 67% 48%) |
| HSV / HSB | hsv(329, 80%, 80%) |
| HWB | hwb(329 16% 20%) |
| CMYK | cmyk(0%, 80%, 39%, 20%) |
| CIELAB (D50) | lab(47.01 66.21 -5.73) |
| LCH | lch(47.01 66.46 355.06) |
| OKLab | oklab(0.5665 0.2066 -0.0174) |
| OKLCH | oklch(0.5665 0.2073 355.19) |
| Decimal | 13314172 |
Properties
| Color Tone | Purple, Crimson, Magenta |
|---|---|
| Closest named color | mediumvioletred ΔE 2.8 |
| Closest web-safe color | #cc3366 |
| Hue | 329° |
| Saturation (HSL / HSV) | 67% / 80% |
| Lightness (HSL) | 48% |
| Brightness or Value (HSV) | 80% |
| Luminance (Rec.601 / Rec.709) | 39% / 32% |
| Relative luminance (WCAG) | 0.1567 |
| Red / Green / Blue | 203 / 40 / 124 |
WCAG 2.2 Contrast Ratio
On White (#ffffff)
5.08:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.13:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123
APCA Contrast Lc (reference) — As text on white / black: Lc 73.5 / -28.2 · As background with white / black text: Lc -78.9 / 30.6
Lightness Scale (OKLCH 50–950)
Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.
Tints (mixed with white)
Shades (mixed with black)
Color Harmonies
Complementary
Split Complementary
Analogous
Color Vision Deficiency Simulation
Estimated appearance of this color for people with color vision deficiencies (Machado 2009).
Similar Named Colors
Use in CSS
:root {
--color-brand: #cb287c;
--color-brand-oklch: oklch(56.65% 0.2073 355.19);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(203 40 124 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cb287c] text-[#cb287c] border-[#cb287c]">