#C64040#C64040
#C64040 is a mid, vivid red. Relative luminance 0.160; OKLCH L 56.4% C 0.171 H 24.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C64040 |
|---|---|
| RGB | rgb(198, 64, 64) |
| HSL | hsl(0, 54%, 51%) |
| HSV | hsv(0, 68%, 78%) |
| CMYK | cmyk(0%, 67.7%, 67.7%, 22.4%) |
| CIE-LAB | lab(47.04, 53.08, 30.22) |
| CIE-LCH | lch(47.04, 61.08, 29.65°) |
| OKLab | oklab(56.39% 0.1553 0.0706) |
| OKLCH | oklch(56.39% 0.171 24.4) |
| XYZ | xyz(26.0503, 16.0465, 6.5751) |
| Luminance | 0.1604 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 0.51
Dull Red
#BB3F3F
ΔE00 2.34
Faded Red
#D3494E
ΔE00 4.26
Dusty Red
#B9484E
ΔE00 4.48
Dark Coral
#CF524E
ΔE00 4.78
Crimson
#DC143C
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C64040 #40C6C6
analogous
#C64083 #C64040 #C68340
triadic
#C64040 #40C640 #4040C6
tetradic
#C64040 #83C640 #40C6C6 #8340C6
square
#C64040 #83C640 #40C6C6 #8340C6
split-complementary
#C64040 #40C683 #4083C6
monochromatic
#6C2020 #9B2E2E #C64040 #D46F6F #E29E9E
Accessibility & contrast
On white
4.99
#C64040 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#C64040 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C64040
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C64040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C64040 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655D3F
Deuteranopia (green-blind)
#867A3C
Tritanopia (blue-blind)
#D91B42
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c64040; /* rgb */ color: rgb(198, 64, 64); /* oklch */ color: oklch(56.4% 0.171 24.4);
Tailwind
colors: {
custom: {
50: '#df7d75',
500: '#c64040',
950: '#000000',
},
}SCSS
$custom: #c64040; $custom-light: #df7d75; $custom-dark: #000000;
JSON
{
"hex": "#c64040",
"rgb": {
"r": 198,
"g": 64,
"b": 64
},
"hsl": {
"h": 0,
"s": 54.032,
"l": 51.373
},
"oklch": {
"l": 0.56386,
"c": 0.17056,
"h": 24.4
},
"luminance": 0.16043
}Semantic roles & 50–950 ramp
primary
#C64040
secondary
#93CECE
accent
#DDDD4A
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#170A08
muted
#857C7B