#CF507D#CF507D
#CF507D is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.1% C 0.165 H 1.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CF507D |
|---|---|
| RGB | rgb(207, 80, 125) |
| HSL | hsl(339, 57%, 56%) |
| HSV | hsv(339, 61%, 81%) |
| CMYK | cmyk(0%, 61.4%, 39.6%, 18.8%) |
| CIE-LAB | lab(52.38, 54.18, 1.17) |
| CIE-LCH | lch(52.38, 54.19, 1.23°) |
| OKLab | oklab(61.1% 0.1654 0.0037) |
| OKLCH | oklch(61.1% 0.165 1.3) |
| XYZ | xyz(32.3045, 20.4870, 21.6512) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.10
Dark Pink
#CB416B
ΔE00 4.49
Blush
#DE5D83
ΔE00 4.79
Deep Rose
#C74767
ΔE00 5.34
Rose (survey)
#CF6275
ΔE00 6.52
Cherry
#DE3163
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF507D #50CFA2
analogous
#CF50BD #CF507D #CF6350
triadic
#CF507D #7DCF50 #507DCF
tetradic
#CF507D #BDCF50 #50CFA2 #6350CF
square
#CF507D #BDCF50 #50CFA2 #6350CF
split-complementary
#CF507D #50CF63 #50BDCF
monochromatic
#812345 #B1315E #CF507D #DC80A1 #E9B0C4
Accessibility & contrast
On white
4.12
#CF507D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#CF507D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF507D
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF507D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF507D | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#686E7E
Deuteranopia (green-blind)
#89867A
Tritanopia (blue-blind)
#DF4361
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cf507d; /* rgb */ color: rgb(207, 80, 125); /* oklch */ color: oklch(61.1% 0.165 1.3);
Tailwind
colors: {
custom: {
50: '#e287a2',
500: '#cf507d',
950: '#000000',
},
}SCSS
$custom: #cf507d; $custom-light: #e287a2; $custom-dark: #000000;
JSON
{
"hex": "#cf507d",
"rgb": {
"r": 207,
"g": 80,
"b": 125
},
"hsl": {
"h": 338.74,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.611,
"c": 0.16546,
"h": 1.3
},
"luminance": 0.20483
}Semantic roles & 50–950 ramp
primary
#CF507D
secondary
#A3D8C5
accent
#E0AA48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E