#CF478F#CF478F
#CF478F is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.7% C 0.185 H 351.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CF478F |
|---|---|
| RGB | rgb(207, 71, 143) |
| HSL | hsl(328, 59%, 55%) |
| HSV | hsv(328, 66%, 81%) |
| CMYK | cmyk(0%, 65.7%, 30.9%, 18.8%) |
| CIE-LAB | lab(51.56, 60.01, -10.79) |
| CIE-LCH | lch(51.56, 60.97, 349.81°) |
| OKLab | oklab(60.68% 0.1829 -0.0279) |
| OKLCH | oklch(60.68% 0.185 351.3) |
| XYZ | xyz(32.9449, 19.7586, 28.0601) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.72
Purplish Pink
#CE5DAE
ΔE00 6.99
Neon Pink
#FE019A
ΔE00 7.30
Mediumvioletred
#C71585
ΔE00 7.38
Shocking Pink
#FE02A2
ΔE00 7.50
Deeppink
#FF1493
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF478F #47CF87
analogous
#CB47CF #CF478F #CF474B
triadic
#CF478F #8FCF47 #478FCF
tetradic
#CF478F #CFCB47 #47CF87 #474BCF
square
#CF478F #CFCB47 #47CF87 #474BCF
split-complementary
#CF478F #4BCF47 #47CFCB
monochromatic
#7B2050 #AC2D70 #CF478F #DC78AD #E8A8CA
Accessibility & contrast
On white
4.24
#CF478F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#CF478F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF478F
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF478F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF478F | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6B91
Deuteranopia (green-blind)
#81848C
Tritanopia (blue-blind)
#DE3F65
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cf478f; /* rgb */ color: rgb(207, 71, 143); /* oklch */ color: oklch(60.7% 0.185 351.3);
Tailwind
colors: {
custom: {
50: '#e283af',
500: '#cf478f',
950: '#000000',
},
}SCSS
$custom: #cf478f; $custom-light: #e283af; $custom-dark: #000000;
JSON
{
"hex": "#cf478f",
"rgb": {
"r": 207,
"g": 71,
"b": 143
},
"hsl": {
"h": 328.235,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.60678,
"c": 0.18498,
"h": 351.3
},
"luminance": 0.19755
}Semantic roles & 50–950 ramp
primary
#CF478F
secondary
#9CD6B7
accent
#E28F46
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F