#CF5162#CF5162
#CF5162 is a mid, vivid red. Relative luminance 0.200; OKLCH L 60.5% C 0.160 H 15.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CF5162 |
|---|---|
| RGB | rgb(207, 81, 98) |
| HSL | hsl(352, 57%, 56%) |
| HSV | hsv(352, 61%, 81%) |
| CMYK | cmyk(0%, 60.9%, 52.7%, 18.8%) |
| CIE-LAB | lab(51.88, 51.16, 16.58) |
| CIE-LCH | lch(51.88, 53.78, 17.96°) |
| OKLab | oklab(60.5% 0.154 0.0417) |
| OKLCH | oklch(60.5% 0.16 15.1) |
| XYZ | xyz(30.8817, 20.0359, 13.7940) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indianred
#CD5C5C
ΔE00 4.76
Rose (survey)
#CF6275
ΔE00 4.84
Deep Rose
#C74767
ΔE00 4.90
Faded Red
#D3494E
ΔE00 5.30
Cherry
#DE3163
ΔE00 5.47
Dark Pink
#CB416B
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF5162 #51CFBE
analogous
#CF51A1 #CF5162 #CF7F51
triadic
#CF5162 #62CF51 #5162CF
tetradic
#CF5162 #A1CF51 #51CFBE #7F51CF
square
#CF5162 #A1CF51 #51CFBE #7F51CF
split-complementary
#CF5162 #51CF7F #51A1CF
monochromatic
#822430 #B23142 #CF5162 #DC818D #E9B1B9
Accessibility & contrast
On white
4.19
#CF5162 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#CF5162 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF5162
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF5162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF5162 | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6B62
Deuteranopia (green-blind)
#8E855F
Tritanopia (blue-blind)
#E13C58
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cf5162; /* rgb */ color: rgb(207, 81, 98); /* oklch */ color: oklch(60.5% 0.160 15.1);
Tailwind
colors: {
custom: {
50: '#e3878e',
500: '#cf5162',
950: '#000000',
},
}SCSS
$custom: #cf5162; $custom-light: #e3878e; $custom-dark: #000000;
JSON
{
"hex": "#cf5162",
"rgb": {
"r": 207,
"g": 81,
"b": 98
},
"hsl": {
"h": 351.905,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.60503,
"c": 0.15953,
"h": 15.1
},
"luminance": 0.20032
}Semantic roles & 50–950 ramp
primary
#CF5162
secondary
#A4D8D1
accent
#E0CB48
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#170C0C
muted
#857D7D