#CF508F#CF508F
#CF508F is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.7% C 0.173 H 352.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #CF508F |
|---|---|
| RGB | rgb(207, 80, 143) |
| HSL | hsl(330, 57%, 56%) |
| HSV | hsv(330, 61%, 81%) |
| CMYK | cmyk(0%, 61.4%, 30.9%, 18.8%) |
| CIE-LAB | lab(52.94, 56.25, -8.72) |
| CIE-LCH | lch(52.94, 56.93, 351.18°) |
| OKLab | oklab(61.69% 0.1712 -0.0224) |
| OKLCH | oklch(61.69% 0.173 352.5) |
| XYZ | xyz(33.5603, 20.9894, 28.2652) |
| Luminance | 0.2099 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.07
Purplish Pink
#CE5DAE
ΔE00 6.69
Pale Magenta
#D767AD
ΔE00 7.03
Blush
#DE5D83
ΔE00 7.45
Neon Pink
#FE019A
ΔE00 7.57
Deeppink
#FF1493
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF508F #50CF90
analogous
#CF50CF #CF508F #CF5150
triadic
#CF508F #8FCF50 #508FCF
tetradic
#CF508F #CFCF50 #50CF90 #5150CF
square
#CF508F #CFCF50 #50CF90 #5150CF
split-complementary
#CF508F #50CF51 #50CFCF
monochromatic
#812352 #B13170 #CF508F #DC80AE #E9B0CC
Accessibility & contrast
On white
4.04
#CF508F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#CF508F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF508F
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF508F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF508F | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627091
Deuteranopia (green-blind)
#85878C
Tritanopia (blue-blind)
#DE4969
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cf508f; /* rgb */ color: rgb(207, 80, 143); /* oklch */ color: oklch(61.7% 0.173 352.5);
Tailwind
colors: {
custom: {
50: '#e188af',
500: '#cf508f',
950: '#000000',
},
}SCSS
$custom: #cf508f; $custom-light: #e188af; $custom-dark: #000000;
JSON
{
"hex": "#cf508f",
"rgb": {
"r": 207,
"g": 80,
"b": 143
},
"hsl": {
"h": 330.236,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.61694,
"c": 0.17265,
"h": 352.5
},
"luminance": 0.20986
}Semantic roles & 50–950 ramp
primary
#CF508F
secondary
#A3D8BE
accent
#E09548
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F