#CF478D#CF478D
#CF478D is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.184 H 352.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CF478D |
|---|---|
| RGB | rgb(207, 71, 141) |
| HSL | hsl(329, 59%, 55%) |
| HSV | hsv(329, 66%, 81%) |
| CMYK | cmyk(0%, 65.7%, 31.9%, 18.8%) |
| CIE-LAB | lab(51.49, 59.77, -9.70) |
| CIE-LCH | lch(51.49, 60.55, 350.78°) |
| OKLab | oklab(60.61% 0.1823 -0.025) |
| OKLCH | oklch(60.61% 0.184 352.2) |
| XYZ | xyz(32.7948, 19.6985, 27.2693) |
| Luminance | 0.1969 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.29
Neon Pink
#FE019A
ΔE00 7.34
Purplish Pink
#CE5DAE
ΔE00 7.36
Mediumvioletred
#C71585
ΔE00 7.43
Deeppink
#FF1493
ΔE00 7.59
Electric Pink
#FF0490
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF478D #47CF89
analogous
#CD47CF #CF478D #CF4749
triadic
#CF478D #8DCF47 #478DCF
tetradic
#CF478D #CFCD47 #47CF89 #4749CF
square
#CF478D #CFCD47 #47CF89 #4749CF
split-complementary
#CF478D #49CF47 #47CFCD
monochromatic
#7B204F #AC2D6E #CF478D #DC78AB #E8A8C9
Accessibility & contrast
On white
4.25
#CF478D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#CF478D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF478D
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF478D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF478D | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C6B8F
Deuteranopia (green-blind)
#82848A
Tritanopia (blue-blind)
#DE3F64
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cf478d; /* rgb */ color: rgb(207, 71, 141); /* oklch */ color: oklch(60.6% 0.184 352.2);
Tailwind
colors: {
custom: {
50: '#e283ae',
500: '#cf478d',
950: '#000000',
},
}SCSS
$custom: #cf478d; $custom-light: #e283ae; $custom-dark: #000000;
JSON
{
"hex": "#cf478d",
"rgb": {
"r": 207,
"g": 71,
"b": 141
},
"hsl": {
"h": 329.118,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.60605,
"c": 0.18401,
"h": 352.2
},
"luminance": 0.19695
}Semantic roles & 50–950 ramp
primary
#CF478D
secondary
#9CD6B8
accent
#E29246
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F