#9D2229#9D2229

#9D2229 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.158 H 23.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9D2229
RGBrgb(157, 34, 41)
HSLhsl(357, 64%, 37%)
HSVhsv(357, 78%, 62%)
CMYKcmyk(0%, 78.3%, 73.9%, 38.4%)
CIE-LABlab(34.95, 49.85, 27.78)
CIE-LCHlch(34.95, 57.07, 29.13°)
OKLaboklab(45.86% 0.1454 0.0631)
OKLCHoklch(45.86% 0.158 23.5)
XYZxyz(14.8786, 8.4746, 2.9497)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2229 #229D96
analogous
#9D2267 #9D2229 #9D5822
triadic
#9D2229 #299D22 #22299D
tetradic
#9D2229 #679D22 #229D96 #58229D
square
#9D2229 #679D22 #229D96 #58229D
split-complementary
#9D2229 #229D58 #22679D
monochromatic
#380C0F #6B171C #9D2229 #CF2D36 #DC5D65

Accessibility & contrast

On white

7.79
#9D2229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9D2229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2229
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2229#FFFFFF#000000##FFFFFF
##9D22291.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474128
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#AD0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2229;
/* rgb */ color: rgb(157, 34, 41);
/* oklch */ color: oklch(45.9% 0.158 23.5);
Tailwind
colors: {
  custom: {
    50: '#c26963',
    500: '#9d2229',
    950: '#000000',
  },
}
SCSS
$custom: #9d2229;
$custom-light: #c26963;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2229",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 356.585,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.15847,
    "h": 23.5
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#9D2229
secondary
#5AC1BB
accent
#E7DE40
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9D2229

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9D2229 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva