#CF509E#CF509E
#CF509E is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.3% C 0.181 H 345.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CF509E |
|---|---|
| RGB | rgb(207, 80, 158) |
| HSL | hsl(323, 57%, 56%) |
| HSV | hsv(323, 61%, 81%) |
| CMYK | cmyk(0%, 61.4%, 23.7%, 18.8%) |
| CIE-LAB | lab(53.47, 58.19, -16.78) |
| CIE-LCH | lch(53.47, 60.56, 343.91°) |
| OKLab | oklab(62.26% 0.1752 -0.0444) |
| OKLCH | oklch(62.26% 0.181 345.8) |
| XYZ | xyz(34.7735, 21.4747, 34.6548) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.76
Pale Magenta
#D767AD
ΔE00 5.55
Pinky Purple
#C94CBE
ΔE00 7.18
Shocking Pink
#FE02A2
ΔE00 7.45
Bright Pink
#FE01B1
ΔE00 7.55
Purpleish Pink
#DF4EC8
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF509E #50CF81
analogous
#C150CF #CF509E #CF505F
triadic
#CF509E #9ECF50 #509ECF
tetradic
#CF509E #CFC150 #50CF81 #505FCF
square
#CF509E #CFC150 #50CF81 #505FCF
split-complementary
#CF509E #5FCF50 #50CFC1
monochromatic
#81235D #B13180 #CF509E #DC80B9 #E9B0D3
Accessibility & contrast
On white
3.97
#CF509E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#CF509E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF509E
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF509E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF509E | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D72A0
Deuteranopia (green-blind)
#81889B
Tritanopia (blue-blind)
#DC4E70
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cf509e; /* rgb */ color: rgb(207, 80, 158); /* oklch */ color: oklch(62.3% 0.181 345.8);
Tailwind
colors: {
custom: {
50: '#e188ba',
500: '#cf509e',
950: '#000000',
},
}SCSS
$custom: #cf509e; $custom-light: #e188ba; $custom-dark: #000000;
JSON
{
"hex": "#cf509e",
"rgb": {
"r": 207,
"g": 80,
"b": 158
},
"hsl": {
"h": 323.15,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.62257,
"c": 0.18078,
"h": 345.8
},
"luminance": 0.21471
}Semantic roles & 50–950 ramp
primary
#CF509E
secondary
#A3D8B7
accent
#E08248
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80