#CF508B#CF508B
#CF508B is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.171 H 354.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CF508B |
|---|---|
| RGB | rgb(207, 80, 139) |
| HSL | hsl(332, 57%, 56%) |
| HSV | hsv(332, 61%, 81%) |
| CMYK | cmyk(0%, 61.4%, 32.9%, 18.8%) |
| CIE-LAB | lab(52.81, 55.77, -6.55) |
| CIE-LCH | lch(52.81, 56.15, 353.30°) |
| OKLab | oklab(61.55% 0.17 -0.0166) |
| OKLCH | oklch(61.55% 0.171 354.4) |
| XYZ | xyz(33.2627, 20.8703, 26.6977) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.20
Blush
#DE5D83
ΔE00 6.72
Dark Pink
#CB416B
ΔE00 7.44
Purplish Pink
#CE5DAE
ΔE00 7.59
Deeppink
#FF1493
ΔE00 7.61
Pale Magenta
#D767AD
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF508B #50CF94
analogous
#CF50CB #CF508B #CF5550
triadic
#CF508B #8BCF50 #508BCF
tetradic
#CF508B #CBCF50 #50CF94 #5550CF
square
#CF508B #CBCF50 #50CF94 #5550CF
split-complementary
#CF508B #50CF55 #50CBCF
monochromatic
#81234F #B1316C #CF508B #DC80AB #E9B0CB
Accessibility & contrast
On white
4.06
#CF508B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#CF508B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF508B
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF508B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF508B | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646F8D
Deuteranopia (green-blind)
#868788
Tritanopia (blue-blind)
#DE4767
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cf508b; /* rgb */ color: rgb(207, 80, 139); /* oklch */ color: oklch(61.6% 0.171 354.4);
Tailwind
colors: {
custom: {
50: '#e288ac',
500: '#cf508b',
950: '#000000',
},
}SCSS
$custom: #cf508b; $custom-light: #e288ac; $custom-dark: #000000;
JSON
{
"hex": "#cf508b",
"rgb": {
"r": 207,
"g": 80,
"b": 139
},
"hsl": {
"h": 332.126,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.61554,
"c": 0.1708,
"h": 354.4
},
"luminance": 0.20867
}Semantic roles & 50–950 ramp
primary
#CF508B
secondary
#A3D8BF
accent
#E09948
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F