#CF4F8B#CF4F8B
#CF4F8B is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.172 H 354.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4F8B |
|---|---|
| RGB | rgb(207, 79, 139) |
| HSL | hsl(332, 57%, 56%) |
| HSV | hsv(332, 62%, 81%) |
| CMYK | cmyk(0%, 61.8%, 32.9%, 18.8%) |
| CIE-LAB | lab(52.65, 56.20, -6.78) |
| CIE-LCH | lch(52.65, 56.61, 353.12°) |
| OKLab | oklab(61.44% 0.1713 -0.0172) |
| OKLCH | oklch(61.44% 0.172 354.3) |
| XYZ | xyz(33.1900, 20.7250, 26.6735) |
| Luminance | 0.2072 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.25
Blush
#DE5D83
ΔE00 6.91
Dark Pink
#CB416B
ΔE00 7.44
Purplish Pink
#CE5DAE
ΔE00 7.58
Deeppink
#FF1493
ΔE00 7.58
Electric Pink
#FF0490
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4F8B #4FCF93
analogous
#CF4FCB #CF4F8B #CF534F
triadic
#CF4F8B #8BCF4F #4F8BCF
tetradic
#CF4F8B #CBCF4F #4FCF93 #534FCF
square
#CF4F8B #CBCF4F #4FCF93 #534FCF
split-complementary
#CF4F8B #4FCF53 #4FCBCF
monochromatic
#81234F #B1306C #CF4F8B #DC7FAB #E9AFCA
Accessibility & contrast
On white
4.08
#CF4F8B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#CF4F8B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4F8B
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4F8B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4F8B | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636F8D
Deuteranopia (green-blind)
#868688
Tritanopia (blue-blind)
#DE4667
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cf4f8b; /* rgb */ color: rgb(207, 79, 139); /* oklch */ color: oklch(61.4% 0.172 354.3);
Tailwind
colors: {
custom: {
50: '#e287ac',
500: '#cf4f8b',
950: '#000000',
},
}SCSS
$custom: #cf4f8b; $custom-light: #e287ac; $custom-dark: #000000;
JSON
{
"hex": "#cf4f8b",
"rgb": {
"r": 207,
"g": 79,
"b": 139
},
"hsl": {
"h": 331.875,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.61436,
"c": 0.1722,
"h": 354.3
},
"luminance": 0.20721
}Semantic roles & 50–950 ramp
primary
#CF4F8B
secondary
#A2D7BF
accent
#E09947
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F