#9D313C#9D313C
#9D313C is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.7% C 0.143 H 18.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9D313C |
|---|---|
| RGB | rgb(157, 49, 60) |
| HSL | hsl(354, 52%, 40%) |
| HSV | hsv(354, 69%, 62%) |
| CMYK | cmyk(0%, 68.8%, 61.8%, 38.4%) |
| CIE-LAB | lab(37.29, 45.36, 18.79) |
| CIE-LCH | lch(37.29, 49.10, 22.51°) |
| OKLab | oklab(47.7% 0.1351 0.0456) |
| OKLCH | oklch(47.7% 0.143 18.7) |
| XYZ | xyz(15.8201, 9.6932, 5.3120) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.11
Brown
#A52A2A
ΔE00 5.71
Rose Red
#BE013C
ΔE00 6.29
Cranberry
#9E003A
ΔE00 6.36
Light Maroon
#A24857
ΔE00 7.00
Lipstick Red
#C0022F
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D313C #319D92
analogous
#9D3172 #9D313C #9D5C31
triadic
#9D313C #3C9D31 #313C9D
tetradic
#9D313C #729D31 #319D92 #5C319D
square
#9D313C #729D31 #319D92 #5C319D
split-complementary
#9D313C #319D5C #31729D
monochromatic
#401418 #6E222A #9D313C #C54653 #D4757E
Accessibility & contrast
On white
7.15
#9D313C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#9D313C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D313C
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D313C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D313C | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D493C
Deuteranopia (green-blind)
#696039
Tritanopia (blue-blind)
#AC1736
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9d313c; /* rgb */ color: rgb(157, 49, 60); /* oklch */ color: oklch(47.7% 0.143 18.7);
Tailwind
colors: {
custom: {
50: '#c07071',
500: '#9d313c',
950: '#000000',
},
}SCSS
$custom: #9d313c; $custom-light: #c07071; $custom-dark: #000000;
JSON
{
"hex": "#9d313c",
"rgb": {
"r": 157,
"g": 49,
"b": 60
},
"hsl": {
"h": 353.889,
"s": 52.427,
"l": 40.392
},
"oklch": {
"l": 0.47697,
"c": 0.1426,
"h": 18.7
},
"luminance": 0.09691
}Semantic roles & 50–950 ramp
primary
#9D313C
secondary
#6EBCB4
accent
#DCCD4C
background
#FCF7F6
surface
#F8EDEC
border
#D1C8C7
text
#130807
muted
#827B7A