#CF509C#CF509C
#CF509C is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.180 H 346.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #CF509C |
|---|---|
| RGB | rgb(207, 80, 156) |
| HSL | hsl(324, 57%, 56%) |
| HSV | hsv(324, 61%, 81%) |
| CMYK | cmyk(0%, 61.4%, 24.6%, 18.8%) |
| CIE-LAB | lab(53.39, 57.92, -15.72) |
| CIE-LCH | lch(53.39, 60.02, 344.82°) |
| OKLab | oklab(62.18% 0.1747 -0.0415) |
| OKLCH | oklch(62.18% 0.18 346.6) |
| XYZ | xyz(34.6028, 21.4064, 33.7555) |
| Luminance | 0.2140 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.09
Pale Magenta
#D767AD
ΔE00 5.65
Shocking Pink
#FE02A2
ΔE00 7.42
Pinky Purple
#C94CBE
ΔE00 7.60
Bright Pink
#FE01B1
ΔE00 7.67
Neon Pink
#FE019A
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF509C #50CF83
analogous
#C250CF #CF509C #CF505D
triadic
#CF509C #9CCF50 #509CCF
tetradic
#CF509C #CFC250 #50CF83 #505DCF
square
#CF509C #CFC250 #50CF83 #505DCF
split-complementary
#CF509C #5DCF50 #50CFC2
monochromatic
#81235C #B1317E #CF509C #DC80B7 #E9B0D2
Accessibility & contrast
On white
3.98
#CF509C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#CF509C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF509C
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF509C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF509C | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E729E
Deuteranopia (green-blind)
#828899
Tritanopia (blue-blind)
#DC4D6F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf509c; /* rgb */ color: rgb(207, 80, 156); /* oklch */ color: oklch(62.2% 0.180 346.6);
Tailwind
colors: {
custom: {
50: '#e188b9',
500: '#cf509c',
950: '#000000',
},
}SCSS
$custom: #cf509c; $custom-light: #e188b9; $custom-dark: #000000;
JSON
{
"hex": "#cf509c",
"rgb": {
"r": 207,
"g": 80,
"b": 156
},
"hsl": {
"h": 324.094,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.62178,
"c": 0.1796,
"h": 346.6
},
"luminance": 0.21403
}Semantic roles & 50–950 ramp
primary
#CF509C
secondary
#A3D8B8
accent
#E08548
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80