#CF4F9D#CF4F9D
#CF4F9D is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.182 H 346.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4F9D |
|---|---|
| RGB | rgb(207, 79, 157) |
| HSL | hsl(323, 57%, 56%) |
| HSV | hsv(323, 62%, 81%) |
| CMYK | cmyk(0%, 61.8%, 24.2%, 18.8%) |
| CIE-LAB | lab(53.27, 58.48, -16.49) |
| CIE-LCH | lch(53.27, 60.76, 344.25°) |
| OKLab | oklab(62.1% 0.1763 -0.0436) |
| OKLCH | oklch(62.1% 0.182 346.1) |
| XYZ | xyz(34.6151, 21.2950, 34.1791) |
| Luminance | 0.2129 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.01
Pale Magenta
#D767AD
ΔE00 5.77
Pinky Purple
#C94CBE
ΔE00 7.30
Shocking Pink
#FE02A2
ΔE00 7.39
Bright Pink
#FE01B1
ΔE00 7.55
Neon Pink
#FE019A
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4F9D #4FCF81
analogous
#C14FCF #CF4F9D #CF4F5D
triadic
#CF4F9D #9DCF4F #4F9DCF
tetradic
#CF4F9D #CFC14F #4FCF81 #4F5DCF
square
#CF4F9D #CFC14F #4FCF81 #4F5DCF
split-complementary
#CF4F9D #5DCF4F #4FCFC1
monochromatic
#81235C #B1307E #CF4F9D #DC7FB8 #E9AFD3
Accessibility & contrast
On white
3.99
#CF4F9D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#CF4F9D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4F9D
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4F9D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4F9D | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D719F
Deuteranopia (green-blind)
#81879A
Tritanopia (blue-blind)
#DC4D6F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf4f9d; /* rgb */ color: rgb(207, 79, 157); /* oklch */ color: oklch(62.1% 0.182 346.1);
Tailwind
colors: {
custom: {
50: '#e187ba',
500: '#cf4f9d',
950: '#000000',
},
}SCSS
$custom: #cf4f9d; $custom-light: #e187ba; $custom-dark: #000000;
JSON
{
"hex": "#cf4f9d",
"rgb": {
"r": 207,
"g": 79,
"b": 157
},
"hsl": {
"h": 323.438,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.62101,
"c": 0.18161,
"h": 346.1
},
"luminance": 0.21292
}Semantic roles & 50–950 ramp
primary
#CF4F9D
secondary
#A2D7B7
accent
#E08347
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80