#CF509F#CF509F
#CF509F is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.3% C 0.181 H 345.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #CF509F |
|---|---|
| RGB | rgb(207, 80, 159) |
| HSL | hsl(323, 57%, 56%) |
| HSV | hsv(323, 61%, 81%) |
| CMYK | cmyk(0%, 61.4%, 23.2%, 18.8%) |
| CIE-LAB | lab(53.50, 58.32, -17.32) |
| CIE-LCH | lch(53.50, 60.84, 343.46°) |
| OKLab | oklab(62.3% 0.1755 -0.0459) |
| OKLCH | oklch(62.3% 0.181 345.3) |
| XYZ | xyz(34.8600, 21.5092, 35.1099) |
| Luminance | 0.2151 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.60
Pale Magenta
#D767AD
ΔE00 5.52
Pinky Purple
#C94CBE
ΔE00 6.96
Purpleish Pink
#DF4EC8
ΔE00 7.38
Shocking Pink
#FE02A2
ΔE00 7.47
Bright Pink
#FE01B1
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF509F #50CF80
analogous
#C050CF #CF509F #CF5060
triadic
#CF509F #9FCF50 #509FCF
tetradic
#CF509F #CFC050 #50CF80 #5060CF
square
#CF509F #CFC050 #50CF80 #5060CF
split-complementary
#CF509F #60CF50 #50CFC0
monochromatic
#81235E #B13181 #CF509F #DC80B9 #E9B0D4
Accessibility & contrast
On white
3.96
#CF509F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#CF509F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF509F
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF509F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF509F | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D72A1
Deuteranopia (green-blind)
#81889C
Tritanopia (blue-blind)
#DC4E71
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cf509f; /* rgb */ color: rgb(207, 80, 159); /* oklch */ color: oklch(62.3% 0.181 345.3);
Tailwind
colors: {
custom: {
50: '#e188bb',
500: '#cf509f',
950: '#000000',
},
}SCSS
$custom: #cf509f; $custom-light: #e188bb; $custom-dark: #000000;
JSON
{
"hex": "#cf509f",
"rgb": {
"r": 207,
"g": 80,
"b": 159
},
"hsl": {
"h": 322.677,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.62297,
"c": 0.18138,
"h": 345.3
},
"luminance": 0.21506
}Semantic roles & 50–950 ramp
primary
#CF509F
secondary
#A3D8B7
accent
#E08148
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81