#9D222A#9D222A

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

Color values

HEX#9D222A
RGBrgb(157, 34, 42)
HSLhsl(356, 64%, 37%)
HSVhsv(356, 78%, 62%)
CMYKcmyk(0%, 78.3%, 73.2%, 38.4%)
CIE-LABlab(34.97, 49.89, 27.18)
CIE-LCHlch(34.97, 56.82, 28.58°)
OKLaboklab(45.87% 0.1457 0.062)
OKLCHoklch(45.87% 0.158 23.1)
XYZxyz(14.8963, 8.4816, 3.0428)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D222A #229D95
analogous
#9D2267 #9D222A #9D5822
triadic
#9D222A #2A9D22 #222A9D
tetradic
#9D222A #679D22 #229D95 #58229D
square
#9D222A #679D22 #229D95 #58229D
split-complementary
#9D222A #229D58 #22679D
monochromatic
#380C0F #6B171D #9D222A #CF2D37 #DC5D66

Accessibility & contrast

On white

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

On black

2.70
#9D222A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D222A#FFFFFF#000000##FFFFFF
##9D222A1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d222a;
/* rgb */ color: rgb(157, 34, 42);
/* oklch */ color: oklch(45.9% 0.158 23.1);
Tailwind
colors: {
  custom: {
    50: '#c26963',
    500: '#9d222a',
    950: '#000000',
  },
}
SCSS
$custom: #9d222a;
$custom-light: #c26963;
$custom-dark: #000000;
JSON
{
  "hex": "#9d222a",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 42
  },
  "hsl": {
    "h": 356.098,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.15837,
    "h": 23.1
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#9D222A
secondary
#5AC1BA
accent
#E7DD40
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9D222A

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

Preview Lab → · Contrast checker → · Palette generator →

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