#9D2340#9D2340
#9D2340 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.4% C 0.157 H 12.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2340 |
|---|---|
| RGB | rgb(157, 35, 64) |
| HSL | hsl(346, 64%, 38%) |
| HSV | hsv(346, 78%, 62%) |
| CMYK | cmyk(0%, 77.7%, 59.2%, 38.4%) |
| CIE-LAB | lab(35.48, 50.86, 13.84) |
| CIE-LCH | lch(35.48, 52.71, 15.22°) |
| OKLab | oklab(46.39% 0.1535 0.0343) |
| OKLCH | oklch(46.39% 0.157 12.6) |
| XYZ | xyz(15.4326, 8.7426, 5.7244) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.82
Rouge
#AB1239
ΔE00 3.55
Raspberry (survey)
#B00149
ΔE00 4.37
Purplish Red
#B0054B
ΔE00 4.62
Red Wine
#8C0034
ΔE00 5.31
Purple Red
#990147
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2340 #239D80
analogous
#9D237D #9D2340 #9D4323
triadic
#9D2340 #409D23 #23409D
tetradic
#9D2340 #7D9D23 #239D80 #43239D
square
#9D2340 #7D9D23 #239D80 #43239D
split-complementary
#9D2340 #239D43 #237D9D
monochromatic
#390D17 #6B182C #9D2340 #CF2E54 #DB5F7D
Accessibility & contrast
On white
7.64
#9D2340 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9D2340 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D2340
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2340 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2340 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#645C3D
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d2340; /* rgb */ color: rgb(157, 35, 64); /* oklch */ color: oklch(46.4% 0.157 12.6);
Tailwind
colors: {
custom: {
50: '#c06a74',
500: '#9d2340',
950: '#000000',
},
}SCSS
$custom: #9d2340; $custom-light: #c06a74; $custom-dark: #000000;
JSON
{
"hex": "#9d2340",
"rgb": {
"r": 157,
"g": 35,
"b": 64
},
"hsl": {
"h": 345.738,
"s": 63.542,
"l": 37.647
},
"oklch": {
"l": 0.46385,
"c": 0.15726,
"h": 12.6
},
"luminance": 0.0874
}Semantic roles & 50–950 ramp
primary
#9D2340
secondary
#5CC0A8
accent
#E7BF41
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#130708
muted
#827A7B