#CF5271#CF5271
#CF5271 is a mid, vivid red. Relative luminance 0.205; OKLCH L 61.0% C 0.160 H 7.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CF5271 |
|---|---|
| RGB | rgb(207, 82, 113) |
| HSL | hsl(345, 57%, 57%) |
| HSV | hsv(345, 60%, 81%) |
| CMYK | cmyk(0%, 60.4%, 45.4%, 18.8%) |
| CIE-LAB | lab(52.39, 52.06, 8.35) |
| CIE-LCH | lch(52.39, 52.73, 9.11°) |
| OKLab | oklab(61% 0.1583 0.0219) |
| OKLCH | oklch(61% 0.16 7.9) |
| XYZ | xyz(31.7323, 20.4960, 17.9046) |
| Luminance | 0.2049 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Rose
#C74767
ΔE00 3.40
Dark Pink
#CB416B
ΔE00 3.90
Rose (survey)
#CF6275
ΔE00 3.93
Darkish Pink
#DA467D
ΔE00 4.37
Blush
#DE5D83
ΔE00 4.88
Cherry
#DE3163
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF5271 #52CFB0
analogous
#CF52B0 #CF5271 #CF7252
triadic
#CF5271 #71CF52 #5271CF
tetradic
#CF5271 #B0CF52 #52CFB0 #7252CF
square
#CF5271 #B0CF52 #52CFB0 #7252CF
split-complementary
#CF5271 #52CF72 #52B0CF
monochromatic
#82243C #B23151 #CF5271 #DC8298 #EAB2C0
Accessibility & contrast
On white
4.12
#CF5271 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#CF5271 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF5271
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF5271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF5271 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C6D72
Deuteranopia (green-blind)
#8C866E
Tritanopia (blue-blind)
#E0425E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cf5271; /* rgb */ color: rgb(207, 82, 113); /* oklch */ color: oklch(61.0% 0.160 7.9);
Tailwind
colors: {
custom: {
50: '#e28899',
500: '#cf5271',
950: '#000000',
},
}SCSS
$custom: #cf5271; $custom-light: #e28899; $custom-dark: #000000;
JSON
{
"hex": "#cf5271",
"rgb": {
"r": 207,
"g": 82,
"b": 113
},
"hsl": {
"h": 345.12,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.61003,
"c": 0.15981,
"h": 7.9
},
"luminance": 0.20492
}Semantic roles & 50–950 ramp
primary
#CF5271
secondary
#A5D8CB
accent
#E0BA48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E