#CF5172#CF5172
#CF5172 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 60.9% C 0.161 H 7.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CF5172 |
|---|---|
| RGB | rgb(207, 81, 114) |
| HSL | hsl(344, 57%, 56%) |
| HSV | hsv(344, 61%, 81%) |
| CMYK | cmyk(0%, 60.9%, 44.9%, 18.8%) |
| CIE-LAB | lab(52.25, 52.61, 7.55) |
| CIE-LCH | lch(52.25, 53.15, 8.17°) |
| OKLab | oklab(60.91% 0.1601 0.0199) |
| OKLCH | oklch(60.91% 0.161 7.1) |
| XYZ | xyz(31.7141, 20.3689, 18.1778) |
| Luminance | 0.2036 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 3.34
Dark Pink
#CB416B
ΔE00 3.62
Darkish Pink
#DA467D
ΔE00 3.94
Rose (survey)
#CF6275
ΔE00 4.31
Blush
#DE5D83
ΔE00 4.84
Cherry
#DE3163
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF5172 #51CFAE
analogous
#CF51B1 #CF5172 #CF6F51
triadic
#CF5172 #72CF51 #5172CF
tetradic
#CF5172 #B1CF51 #51CFAE #6F51CF
square
#CF5172 #B1CF51 #51CFAE #6F51CF
split-complementary
#CF5172 #51CF6F #51B1CF
monochromatic
#82243C #B23153 #CF5172 #DC8199 #E9B1C0
Accessibility & contrast
On white
4.14
#CF5172 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#CF5172 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF5172
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF5172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF5172 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6D73
Deuteranopia (green-blind)
#8C866F
Tritanopia (blue-blind)
#E0415E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cf5172; /* rgb */ color: rgb(207, 81, 114); /* oklch */ color: oklch(60.9% 0.161 7.1);
Tailwind
colors: {
custom: {
50: '#e2889a',
500: '#cf5172',
950: '#000000',
},
}SCSS
$custom: #cf5172; $custom-light: #e2889a; $custom-dark: #000000;
JSON
{
"hex": "#cf5172",
"rgb": {
"r": 207,
"g": 81,
"b": 114
},
"hsl": {
"h": 344.286,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.60905,
"c": 0.16132,
"h": 7.1
},
"luminance": 0.20365
}Semantic roles & 50–950 ramp
primary
#CF5172
secondary
#A4D8CA
accent
#E0B848
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E