#CF418C#CF418C
#CF418C is a mid, vivid pink. Relative luminance 0.189; OKLCH L 60.0% C 0.191 H 351.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CF418C |
|---|---|
| RGB | rgb(207, 65, 140) |
| HSL | hsl(328, 60%, 53%) |
| HSV | hsv(328, 69%, 81%) |
| CMYK | cmyk(0%, 68.6%, 32.4%, 18.8%) |
| CIE-LAB | lab(50.62, 61.97, -10.41) |
| CIE-LCH | lch(50.62, 62.84, 350.46°) |
| OKLab | oklab(59.95% 0.1893 -0.0269) |
| OKLCH | oklch(59.95% 0.191 351.9) |
| XYZ | xyz(32.3578, 18.9431, 26.7582) |
| Luminance | 0.1894 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.73
Mediumvioletred
#C71585
ΔE00 6.36
Neon Pink
#FE019A
ΔE00 7.41
Shocking Pink
#FE02A2
ΔE00 7.68
Electric Pink
#FF0490
ΔE00 7.74
Deeppink
#FF1493
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF418C #41CF84
analogous
#CB41CF #CF418C #CF4145
triadic
#CF418C #8CCF41 #418CCF
tetradic
#CF418C #CFCB41 #41CF84 #4145CF
square
#CF418C #CFCB41 #41CF84 #4145CF
split-complementary
#CF418C #45CF41 #41CFCB
monochromatic
#771E4D #A82B6D #CF418C #DB72AA #E8A3C7
Accessibility & contrast
On white
4.39
#CF418C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#CF418C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF418C
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF418C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF418C | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58688E
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#DE3861
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cf418c; /* rgb */ color: rgb(207, 65, 140); /* oklch */ color: oklch(60.0% 0.191 351.9);
Tailwind
colors: {
custom: {
50: '#e280ad',
500: '#cf418c',
950: '#000000',
},
}SCSS
$custom: #cf418c; $custom-light: #e280ad; $custom-dark: #000000;
JSON
{
"hex": "#cf418c",
"rgb": {
"r": 207,
"g": 65,
"b": 140
},
"hsl": {
"h": 328.31,
"s": 59.664,
"l": 53.333
},
"oklch": {
"l": 0.59951,
"c": 0.19119,
"h": 351.9
},
"luminance": 0.18939
}Semantic roles & 50–950 ramp
primary
#CF418C
secondary
#97D4B4
accent
#E38F45
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F