#C7262F#C7262F
#C7262F is a mid, vivid red. Relative luminance 0.137; OKLCH L 54.0% C 0.195 H 24.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C7262F |
|---|---|
| RGB | rgb(199, 38, 47) |
| HSL | hsl(357, 68%, 46%) |
| HSV | hsv(357, 81%, 78%) |
| CMYK | cmyk(0%, 80.9%, 76.4%, 22%) |
| CIE-LAB | lab(43.85, 61.35, 36.51) |
| CIE-LCH | lch(43.85, 71.39, 30.76°) |
| OKLab | oklab(53.98% 0.1778 0.0809) |
| OKLCH | oklch(53.98% 0.195 24.5) |
| XYZ | xyz(24.7624, 13.7376, 4.0366) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cherry (survey)
#CF0234
ΔE00 3.49
Dull Red
#BB3F3F
ΔE00 3.96
Reddish
#C44240
ΔE00 4.21
Cardinal
#C41E3A
ΔE00 4.32
Lipstick Red
#C0022F
ΔE00 4.40
Scarlet
#BE0119
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7262F #26C7BE
analogous
#C72680 #C7262F #C76E26
triadic
#C7262F #2FC726 #262FC7
tetradic
#C7262F #80C726 #26C7BE #6E26C7
square
#C7262F #80C726 #26C7BE #6E26C7
split-complementary
#C7262F #26C76E #2680C7
monochromatic
#601217 #941C23 #C7262F #DD4D55 #E78186
Accessibility & contrast
On white
5.60
#C7262F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#C7262F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C7262F
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7262F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C7262F | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522D
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#DB002C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #c7262f; /* rgb */ color: rgb(199, 38, 47); /* oklch */ color: oklch(54.0% 0.195 24.5);
Tailwind
colors: {
custom: {
50: '#e27168',
500: '#c7262f',
950: '#000000',
},
}SCSS
$custom: #c7262f; $custom-light: #e27168; $custom-dark: #000000;
JSON
{
"hex": "#c7262f",
"rgb": {
"r": 199,
"g": 38,
"b": 47
},
"hsl": {
"h": 356.646,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.53978,
"c": 0.19527,
"h": 24.5
},
"luminance": 0.13734
}Semantic roles & 50–950 ramp
primary
#C7262F
secondary
#79CFCB
accent
#EBE13D
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170906
muted
#857B7A