#CC418F#CC418F
#CC418F is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.6% C 0.190 H 349.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CC418F |
|---|---|
| RGB | rgb(204, 65, 143) |
| HSL | hsl(326, 58%, 53%) |
| HSV | hsv(326, 68%, 80%) |
| CMYK | cmyk(0%, 68.1%, 29.9%, 20%) |
| CIE-LAB | lab(50.22, 61.50, -12.86) |
| CIE-LCH | lch(50.22, 62.83, 348.19°) |
| OKLab | oklab(59.6% 0.1873 -0.0335) |
| OKLCH | oklch(59.6% 0.19 349.8) |
| XYZ | xyz(31.7516, 18.6046, 27.9002) |
| Luminance | 0.1860 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.88
Darkish Pink
#DA467D
ΔE00 6.84
Purplish Pink
#CE5DAE
ΔE00 7.50
Magenta (survey)
#C20078
ΔE00 7.93
Neon Pink
#FE019A
ΔE00 7.94
Shocking Pink
#FE02A2
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC418F #41CC7E
analogous
#C341CC #CC418F #CC4149
triadic
#CC418F #8FCC41 #418FCC
tetradic
#CC418F #CCC341 #41CC7E #4149CC
square
#CC418F #CCC341 #41CC7E #4149CC
split-complementary
#CC418F #49CC41 #41CCC3
monochromatic
#741F4E #A42C6F #CC418F #D971AB #E6A1C8
Accessibility & contrast
On white
4.45
#CC418F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#CC418F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC418F
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC418F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC418F | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556891
Deuteranopia (green-blind)
#7D818C
Tritanopia (blue-blind)
#DB3A62
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cc418f; /* rgb */ color: rgb(204, 65, 143); /* oklch */ color: oklch(59.6% 0.190 349.8);
Tailwind
colors: {
custom: {
50: '#e080af',
500: '#cc418f',
950: '#000000',
},
}SCSS
$custom: #cc418f; $custom-light: #e080af; $custom-dark: #000000;
JSON
{
"hex": "#cc418f",
"rgb": {
"r": 204,
"g": 65,
"b": 143
},
"hsl": {
"h": 326.331,
"s": 57.676,
"l": 52.745
},
"oklch": {
"l": 0.59597,
"c": 0.1903,
"h": 349.8
},
"luminance": 0.18601
}Semantic roles & 50–950 ramp
primary
#CC418F
secondary
#96D3B1
accent
#E18A47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F