#CF303A#CF303A
#CF303A is a mid, vivid red. Relative luminance 0.157; OKLCH L 56.3% C 0.195 H 23.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CF303A |
|---|---|
| RGB | rgb(207, 48, 58) |
| HSL | hsl(356, 62%, 50%) |
| HSV | hsv(356, 77%, 81%) |
| CMYK | cmyk(0%, 76.8%, 72%, 18.8%) |
| CIE-LAB | lab(46.56, 61.25, 33.58) |
| CIE-LCH | lch(46.56, 69.85, 28.73°) |
| OKLab | oklab(56.31% 0.1788 0.0765) |
| OKLCH | oklch(56.31% 0.195 23.2) |
| XYZ | xyz(27.5560, 15.6891, 5.5795) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 2.78
Crimson
#DC143C
ΔE00 3.04
Dull Red
#BB3F3F
ΔE00 3.70
Cherry (survey)
#CF0234
ΔE00 3.75
Cardinal
#C41E3A
ΔE00 4.58
Faded Red
#D3494E
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF303A #30CFC5
analogous
#CF308A #CF303A #CF7530
triadic
#CF303A #3ACF30 #303ACF
tetradic
#CF303A #8ACF30 #30CFC5 #7530CF
square
#CF303A #8ACF30 #30CFC5 #7530CF
split-complementary
#CF303A #30CF75 #308ACF
monochromatic
#6C191E #9D242C #CF303A #DB6269 #E69399
Accessibility & contrast
On white
5.08
#CF303A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#CF303A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF303A
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF303A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF303A | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605939
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#E40036
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #cf303a; /* rgb */ color: rgb(207, 48, 58); /* oklch */ color: oklch(56.3% 0.195 23.2);
Tailwind
colors: {
custom: {
50: '#e77670',
500: '#cf303a',
950: '#000000',
},
}SCSS
$custom: #cf303a; $custom-light: #e77670; $custom-dark: #000000;
JSON
{
"hex": "#cf303a",
"rgb": {
"r": 207,
"g": 48,
"b": 58
},
"hsl": {
"h": 356.226,
"s": 62.353,
"l": 50
},
"oklch": {
"l": 0.5631,
"c": 0.1945,
"h": 23.2
},
"luminance": 0.15685
}Semantic roles & 50–950 ramp
primary
#CF303A
secondary
#8AD1CD
accent
#E5DB42
background
#FFF7F6
surface
#FFEEEC
border
#D7C9C7
text
#180A07
muted
#867C7A