#CF508C#CF508C
#CF508C is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.171 H 354.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CF508C |
|---|---|
| RGB | rgb(207, 80, 140) |
| HSL | hsl(332, 57%, 56%) |
| HSV | hsv(332, 61%, 81%) |
| CMYK | cmyk(0%, 61.4%, 32.4%, 18.8%) |
| CIE-LAB | lab(52.84, 55.89, -7.09) |
| CIE-LCH | lch(52.84, 56.34, 352.77°) |
| OKLab | oklab(61.59% 0.1703 -0.018) |
| OKLCH | oklch(61.59% 0.171 354) |
| XYZ | xyz(33.3361, 20.8997, 27.0843) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.42
Blush
#DE5D83
ΔE00 6.90
Purplish Pink
#CE5DAE
ΔE00 7.36
Pale Magenta
#D767AD
ΔE00 7.51
Deeppink
#FF1493
ΔE00 7.61
Dark Pink
#CB416B
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF508C #50CF93
analogous
#CF50CB #CF508C #CF5450
triadic
#CF508C #8CCF50 #508CCF
tetradic
#CF508C #CBCF50 #50CF93 #5450CF
square
#CF508C #CBCF50 #50CF93 #5450CF
split-complementary
#CF508C #50CF54 #50CBCF
monochromatic
#812350 #B1316D #CF508C #DC80AC #E9B0CB
Accessibility & contrast
On white
4.05
#CF508C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#CF508C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF508C
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF508C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF508C | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63708E
Deuteranopia (green-blind)
#868789
Tritanopia (blue-blind)
#DE4868
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cf508c; /* rgb */ color: rgb(207, 80, 140); /* oklch */ color: oklch(61.6% 0.171 354.0);
Tailwind
colors: {
custom: {
50: '#e188ad',
500: '#cf508c',
950: '#000000',
},
}SCSS
$custom: #cf508c; $custom-light: #e188ad; $custom-dark: #000000;
JSON
{
"hex": "#cf508c",
"rgb": {
"r": 207,
"g": 80,
"b": 140
},
"hsl": {
"h": 331.654,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.61589,
"c": 0.17125,
"h": 354
},
"luminance": 0.20896
}Semantic roles & 50–950 ramp
primary
#CF508C
secondary
#A3D8BF
accent
#E09848
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F