#CC286F#CC286F
#CC286F is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.4% C 0.203 H 0.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #CC286F |
|---|---|
| RGB | rgb(204, 40, 111) |
| HSL | hsl(334, 67%, 48%) |
| HSV | hsv(334, 80%, 80%) |
| CMYK | cmyk(0%, 80.4%, 45.6%, 20%) |
| CIE-LAB | lab(46.32, 66.16, 0.76) |
| CIE-LCH | lch(46.32, 66.17, 0.66°) |
| OKLab | oklab(56.39% 0.2034 0.0027) |
| OKLCH | oklch(56.39% 0.203 0.8) |
| XYZ | xyz(28.5322, 15.5066, 16.5265) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Hot Pink
#D90166
ΔE00 3.25
Deep Pink
#CB0162
ΔE00 3.28
Dark Pink
#CB416B
ΔE00 4.60
Cerise
#DE0C62
ΔE00 5.04
Magenta (survey)
#C20078
ΔE00 5.96
Deep Rose
#C74767
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC286F #28CC85
analogous
#CC28C1 #CC286F #CC3328
triadic
#CC286F #6FCC28 #286FCC
tetradic
#CC286F #C1CC28 #28CC85 #3328CC
square
#CC286F #C1CC28 #28CC85 #3328CC
split-complementary
#CC286F #28CC33 #28C1CC
monochromatic
#661437 #991E53 #CC286F #DD548F #E787B1
Accessibility & contrast
On white
5.12
#CC286F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#CC286F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CC286F
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC286F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CC286F | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515A71
Deuteranopia (green-blind)
#7D796B
Tritanopia (blue-blind)
#DE0049
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #cc286f; /* rgb */ color: rgb(204, 40, 111); /* oklch */ color: oklch(56.4% 0.203 0.8);
Tailwind
colors: {
custom: {
50: '#e27498',
500: '#cc286f',
950: '#000000',
},
}SCSS
$custom: #cc286f; $custom-light: #e27498; $custom-dark: #000000;
JSON
{
"hex": "#cc286f",
"rgb": {
"r": 204,
"g": 40,
"b": 111
},
"hsl": {
"h": 334.024,
"s": 67.213,
"l": 47.843
},
"oklch": {
"l": 0.56392,
"c": 0.20339,
"h": 0.8
},
"luminance": 0.15503
}Semantic roles & 50–950 ramp
primary
#CC286F
secondary
#7FD1AD
accent
#EA9F3E
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#17090D
muted
#857B7E