#CF51AC#CF51AC
#CF51AC is a light, vivid pink. Relative luminance 0.221; OKLCH L 63.0% C 0.188 H 340.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #CF51AC |
|---|---|
| RGB | rgb(207, 81, 172) |
| HSL | hsl(317, 57%, 56%) |
| HSV | hsv(317, 61%, 81%) |
| CMYK | cmyk(0%, 60.9%, 16.9%, 18.8%) |
| CIE-LAB | lab(54.17, 59.73, -23.90) |
| CIE-LCH | lch(54.17, 64.33, 338.19°) |
| OKLab | oklab(62.95% 0.177 -0.0643) |
| OKLCH | oklch(62.95% 0.188 340) |
| XYZ | xyz(36.1217, 22.1319, 41.3912) |
| Luminance | 0.2213 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 2.37
Pinky Purple
#C94CBE
ΔE00 4.45
Purpleish Pink
#DF4EC8
ΔE00 5.01
Pale Magenta
#D767AD
ΔE00 5.57
Purpley Pink
#C83CB9
ΔE00 5.72
Hot Magenta
#F504C9
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF51AC #51CF74
analogous
#B351CF #CF51AC #CF516D
triadic
#CF51AC #ACCF51 #51ACCF
tetradic
#CF51AC #CFB351 #51CF74 #516DCF
square
#CF51AC #CFB351 #51CF74 #516DCF
split-complementary
#CF51AC #6DCF51 #51CFB3
monochromatic
#822468 #B2318E #CF51AC #DC81C3 #E9B1DA
Accessibility & contrast
On white
3.87
#CF51AC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#CF51AC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF51AC
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF51AC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF51AC | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5875AF
Deuteranopia (green-blind)
#7D89A9
Tritanopia (blue-blind)
#DA5477
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #cf51ac; /* rgb */ color: rgb(207, 81, 172); /* oklch */ color: oklch(63.0% 0.188 340.0);
Tailwind
colors: {
custom: {
50: '#e189c5',
500: '#cf51ac',
950: '#000000',
},
}SCSS
$custom: #cf51ac; $custom-light: #e189c5; $custom-dark: #000000;
JSON
{
"hex": "#cf51ac",
"rgb": {
"r": 207,
"g": 81,
"b": 172
},
"hsl": {
"h": 316.667,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.62952,
"c": 0.18835,
"h": 340
},
"luminance": 0.22129
}Semantic roles & 50–950 ramp
primary
#CF51AC
secondary
#A4D8B2
accent
#E07248
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81