#CF5170#CF5170
#CF5170 is a mid, vivid red. Relative luminance 0.203; OKLCH L 60.9% C 0.161 H 8.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CF5170 |
|---|---|
| RGB | rgb(207, 81, 112) |
| HSL | hsl(345, 57%, 56%) |
| HSV | hsv(345, 61%, 81%) |
| CMYK | cmyk(0%, 60.9%, 45.9%, 18.8%) |
| CIE-LAB | lab(52.20, 52.41, 8.67) |
| CIE-LCH | lch(52.20, 53.13, 9.40°) |
| OKLab | oklab(60.85% 0.1594 0.0227) |
| OKLCH | oklch(60.85% 0.161 8.1) |
| XYZ | xyz(31.6015, 20.3239, 17.5848) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Rose
#C74767
ΔE00 3.18
Dark Pink
#CB416B
ΔE00 3.73
Rose (survey)
#CF6275
ΔE00 4.08
Darkish Pink
#DA467D
ΔE00 4.45
Cherry
#DE3163
ΔE00 4.83
Blush
#DE5D83
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF5170 #51CFB0
analogous
#CF51AF #CF5170 #CF7151
triadic
#CF5170 #70CF51 #5170CF
tetradic
#CF5170 #AFCF51 #51CFB0 #7151CF
square
#CF5170 #AFCF51 #51CFB0 #7151CF
split-complementary
#CF5170 #51CF71 #51AFCF
monochromatic
#82243B #B23151 #CF5170 #DC8197 #E9B1BF
Accessibility & contrast
On white
4.15
#CF5170 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#CF5170 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF5170
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF5170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF5170 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6D71
Deuteranopia (green-blind)
#8C866D
Tritanopia (blue-blind)
#E0405D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cf5170; /* rgb */ color: rgb(207, 81, 112); /* oklch */ color: oklch(60.9% 0.161 8.1);
Tailwind
colors: {
custom: {
50: '#e28898',
500: '#cf5170',
950: '#000000',
},
}SCSS
$custom: #cf5170; $custom-light: #e28898; $custom-dark: #000000;
JSON
{
"hex": "#cf5170",
"rgb": {
"r": 207,
"g": 81,
"b": 112
},
"hsl": {
"h": 345.238,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.60851,
"c": 0.16095,
"h": 8.1
},
"luminance": 0.2032
}Semantic roles & 50–950 ramp
primary
#CF5170
secondary
#A4D8CB
accent
#E0BB48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E