#CF4F8E#CF4F8E
#CF4F8E is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.5% C 0.174 H 352.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4F8E |
|---|---|
| RGB | rgb(207, 79, 142) |
| HSL | hsl(330, 57%, 56%) |
| HSV | hsv(330, 62%, 81%) |
| CMYK | cmyk(0%, 61.8%, 31.4%, 18.8%) |
| CIE-LAB | lab(52.75, 56.56, -8.42) |
| CIE-LCH | lch(52.75, 57.19, 351.53°) |
| OKLab | oklab(61.54% 0.1722 -0.0216) |
| OKLCH | oklch(61.54% 0.174 352.9) |
| XYZ | xyz(33.4122, 20.8139, 27.8438) |
| Luminance | 0.2081 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.90
Purplish Pink
#CE5DAE
ΔE00 6.91
Pale Magenta
#D767AD
ΔE00 7.29
Blush
#DE5D83
ΔE00 7.44
Neon Pink
#FE019A
ΔE00 7.54
Deeppink
#FF1493
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4F8E #4FCF90
analogous
#CF4FCE #CF4F8E #CF504F
triadic
#CF4F8E #8ECF4F #4F8ECF
tetradic
#CF4F8E #CECF4F #4FCF90 #504FCF
square
#CF4F8E #CECF4F #4FCF90 #504FCF
split-complementary
#CF4F8E #4FCF50 #4FCECF
monochromatic
#812351 #B1306F #CF4F8E #DC7FAD #E9AFCC
Accessibility & contrast
On white
4.07
#CF4F8E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#CF4F8E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4F8E
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4F8E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4F8E | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#626F90
Deuteranopia (green-blind)
#85868B
Tritanopia (blue-blind)
#DE4768
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cf4f8e; /* rgb */ color: rgb(207, 79, 142); /* oklch */ color: oklch(61.5% 0.174 352.9);
Tailwind
colors: {
custom: {
50: '#e187af',
500: '#cf4f8e',
950: '#000000',
},
}SCSS
$custom: #cf4f8e; $custom-light: #e187af; $custom-dark: #000000;
JSON
{
"hex": "#cf4f8e",
"rgb": {
"r": 207,
"g": 79,
"b": 142
},
"hsl": {
"h": 330.469,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.6154,
"c": 0.17359,
"h": 352.9
},
"luminance": 0.2081
}Semantic roles & 50–950 ramp
primary
#CF4F8E
secondary
#A2D7BD
accent
#E09547
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F