#CF342E#CF342E
#CF342E is a mid, vivid red. Relative luminance 0.159; OKLCH L 56.5% C 0.193 H 27.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CF342E |
|---|---|
| RGB | rgb(207, 52, 46) |
| HSL | hsl(2, 64%, 50%) |
| HSV | hsv(2, 78%, 81%) |
| CMYK | cmyk(0%, 74.9%, 77.8%, 18.8%) |
| CIE-LAB | lab(46.87, 59.52, 40.76) |
| CIE-LCH | lch(46.87, 72.14, 34.40°) |
| OKLab | oklab(56.49% 0.1708 0.0892) |
| OKLCH | oklch(56.49% 0.193 27.6) |
| XYZ | xyz(27.4565, 15.9230, 4.2120) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.13
Dull Red
#BB3F3F
ΔE00 5.45
Crimson
#DC143C
ΔE00 6.37
Cherry (survey)
#CF0234
ΔE00 6.65
Red (survey)
#E50000
ΔE00 6.66
Scarlet
#BE0119
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF342E #2EC9CF
analogous
#CF2E79 #CF342E #CF852E
triadic
#CF342E #2ECF34 #342ECF
tetradic
#CF342E #79CF2E #2EC9CF #852ECF
square
#CF342E #79CF2E #2EC9CF #852ECF
split-complementary
#CF342E #2ECF85 #2E79CF
monochromatic
#6B1B18 #9D2723 #CF342E #DB635F #E79491
Accessibility & contrast
On white
5.02
#CF342E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#CF342E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF342E
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF342E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF342E | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A2B
Deuteranopia (green-blind)
#8A7B27
Tritanopia (blue-blind)
#E40035
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #cf342e; /* rgb */ color: rgb(207, 52, 46); /* oklch */ color: oklch(56.5% 0.193 27.6);
Tailwind
colors: {
custom: {
50: '#e77868',
500: '#cf342e',
950: '#000000',
},
}SCSS
$custom: #cf342e; $custom-light: #e77868; $custom-dark: #000000;
JSON
{
"hex": "#cf342e",
"rgb": {
"r": 207,
"g": 52,
"b": 46
},
"hsl": {
"h": 2.236,
"s": 63.636,
"l": 49.608
},
"oklch": {
"l": 0.56494,
"c": 0.1927,
"h": 27.6
},
"luminance": 0.15919
}Semantic roles & 50–950 ramp
primary
#CF342E
secondary
#88CED1
accent
#E0E741
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A