#9D223F#9D223F
#9D223F is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.158 H 12.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9D223F |
|---|---|
| RGB | rgb(157, 34, 63) |
| HSL | hsl(346, 64%, 37%) |
| HSV | hsv(346, 78%, 62%) |
| CMYK | cmyk(0%, 78.3%, 59.9%, 38.4%) |
| CIE-LAB | lab(35.35, 51.11, 14.30) |
| CIE-LCH | lch(35.35, 53.08, 15.63°) |
| OKLab | oklab(46.28% 0.1541 0.0354) |
| OKLCH | oklch(46.28% 0.158 12.9) |
| XYZ | xyz(15.3754, 8.6733, 5.5662) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.73
Rouge
#AB1239
ΔE00 3.38
Raspberry (survey)
#B00149
ΔE00 4.48
Purplish Red
#B0054B
ΔE00 4.75
Red Wine
#8C0034
ΔE00 5.24
Purple Red
#990147
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D223F #229D80
analogous
#9D227C #9D223F #9D4322
triadic
#9D223F #3F9D22 #223F9D
tetradic
#9D223F #7C9D22 #229D80 #43229D
square
#9D223F #7C9D22 #229D80 #43229D
split-complementary
#9D223F #229D43 #227C9D
monochromatic
#380C17 #6B172B #9D223F #CF2D53 #DC5D7B
Accessibility & contrast
On white
7.68
#9D223F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9D223F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D223F
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D223F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D223F | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44433F
Deuteranopia (green-blind)
#645C3C
Tritanopia (blue-blind)
#AC002E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d223f; /* rgb */ color: rgb(157, 34, 63); /* oklch */ color: oklch(46.3% 0.158 12.9);
Tailwind
colors: {
custom: {
50: '#c16973',
500: '#9d223f',
950: '#000000',
},
}SCSS
$custom: #9d223f; $custom-light: #c16973; $custom-dark: #000000;
JSON
{
"hex": "#9d223f",
"rgb": {
"r": 157,
"g": 34,
"b": 63
},
"hsl": {
"h": 345.854,
"s": 64.398,
"l": 37.451
},
"oklch": {
"l": 0.46277,
"c": 0.1581,
"h": 12.9
},
"luminance": 0.08671
}Semantic roles & 50–950 ramp
primary
#9D223F
secondary
#5AC1A8
accent
#E7C040
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140708
muted
#827A7B