#C7394F#C7394F
#C7394F is a mid, vivid red. Relative luminance 0.156; OKLCH L 56.1% C 0.178 H 16.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #C7394F |
|---|---|
| RGB | rgb(199, 57, 79) |
| HSL | hsl(351, 56%, 50%) |
| HSV | hsv(351, 71%, 78%) |
| CMYK | cmyk(0%, 71.4%, 60.3%, 22%) |
| CIE-LAB | lab(46.49, 56.98, 20.56) |
| CIE-LCH | lch(46.49, 60.58, 19.84°) |
| OKLab | oklab(56.1% 0.1705 0.0502) |
| OKLCH | oklch(56.1% 0.178 16.4) |
| XYZ | xyz(26.4302, 15.6367, 9.0221) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 3.52
Dusty Red
#B9484E
ΔE00 3.66
Ruby
#CA0147
ΔE00 4.84
Cardinal
#C41E3A
ΔE00 4.96
Dark Rose
#B5485D
ΔE00 5.19
Crimson
#DC143C
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7394F #39C7B1
analogous
#C73996 #C7394F #C76A39
triadic
#C7394F #4FC739 #394FC7
tetradic
#C7394F #96C739 #39C7B1 #6A39C7
square
#C7394F #96C739 #39C7B1 #6A39C7
split-complementary
#C7394F #39C76A #3996C7
monochromatic
#681D29 #982B3C #C7394F #D46979 #E298A4
Accessibility & contrast
On white
5.09
#C7394F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#C7394F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C7394F
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7394F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C7394F | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5B4F
Deuteranopia (green-blind)
#83794B
Tritanopia (blue-blind)
#DA0F42
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #c7394f; /* rgb */ color: rgb(199, 57, 79); /* oklch */ color: oklch(56.1% 0.178 16.4);
Tailwind
colors: {
custom: {
50: '#df7a80',
500: '#c7394f',
950: '#000000',
},
}SCSS
$custom: #c7394f; $custom-light: #df7a80; $custom-dark: #000000;
JSON
{
"hex": "#c7394f",
"rgb": {
"r": 199,
"g": 57,
"b": 79
},
"hsl": {
"h": 350.704,
"s": 55.906,
"l": 50.196
},
"oklch": {
"l": 0.56098,
"c": 0.17774,
"h": 16.4
},
"luminance": 0.15633
}Semantic roles & 50–950 ramp
primary
#C7394F
secondary
#8ECEC4
accent
#DFC849
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#170A0A
muted
#857C7C