#CF51A2#CF51A2
#CF51A2 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.5% C 0.182 H 344.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CF51A2 |
|---|---|
| RGB | rgb(207, 81, 162) |
| HSL | hsl(321, 57%, 56%) |
| HSV | hsv(321, 61%, 81%) |
| CMYK | cmyk(0%, 60.9%, 21.7%, 18.8%) |
| CIE-LAB | lab(53.77, 58.31, -18.66) |
| CIE-LCH | lch(53.77, 61.22, 342.25°) |
| OKLab | oklab(62.53% 0.1749 -0.0496) |
| OKLCH | oklch(62.53% 0.182 344.2) |
| XYZ | xyz(35.1972, 21.7621, 36.5222) |
| Luminance | 0.2176 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.06
Pale Magenta
#D767AD
ΔE00 5.27
Pinky Purple
#C94CBE
ΔE00 6.43
Purpleish Pink
#DF4EC8
ΔE00 6.82
Purpley Pink
#C83CB9
ΔE00 7.25
Bright Pink
#FE01B1
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF51A2 #51CF7E
analogous
#BD51CF #CF51A2 #CF5163
triadic
#CF51A2 #A2CF51 #51A2CF
tetradic
#CF51A2 #CFBD51 #51CF7E #5163CF
square
#CF51A2 #CFBD51 #51CF7E #5163CF
split-complementary
#CF51A2 #63CF51 #51CFBD
monochromatic
#822460 #B23184 #CF51A2 #DC81BC #E9B1D5
Accessibility & contrast
On white
3.92
#CF51A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#CF51A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF51A2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF51A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF51A2 | 1.00 | 3.92 | 5.35 | 5.35 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#80889F
Tritanopia (blue-blind)
#DC5072
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cf51a2; /* rgb */ color: rgb(207, 81, 162); /* oklch */ color: oklch(62.5% 0.182 344.2);
Tailwind
colors: {
custom: {
50: '#e189bd',
500: '#cf51a2',
950: '#000000',
},
}SCSS
$custom: #cf51a2; $custom-light: #e189bd; $custom-dark: #000000;
JSON
{
"hex": "#cf51a2",
"rgb": {
"r": 207,
"g": 81,
"b": 162
},
"hsl": {
"h": 321.429,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.62534,
"c": 0.18179,
"h": 344.2
},
"luminance": 0.21759
}Semantic roles & 50–950 ramp
primary
#CF51A2
secondary
#A4D8B7
accent
#E07E48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81