#9D222B#9D222B

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

Color values

HEX#9D222B
RGBrgb(157, 34, 43)
HSLhsl(356, 64%, 37%)
HSVhsv(356, 78%, 62%)
CMYKcmyk(0%, 78.3%, 72.6%, 38.4%)
CIE-LABlab(34.98, 49.94, 26.58)
CIE-LCHlch(34.98, 56.57, 28.02°)
OKLaboklab(45.89% 0.1461 0.0609)
OKLCHoklch(45.89% 0.158 22.6)
XYZxyz(14.9144, 8.4889, 3.1382)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D222B #229D94
analogous
#9D2268 #9D222B #9D5722
triadic
#9D222B #2B9D22 #222B9D
tetradic
#9D222B #689D22 #229D94 #57229D
square
#9D222B #689D22 #229D94 #57229D
split-complementary
#9D222B #229D57 #22689D
monochromatic
#380C0F #6B171D #9D222B #CF2D39 #DC5D67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D222B#FFFFFF#000000##FFFFFF
##9D222B1.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)
#47412A
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#AD0027
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d222b;
/* rgb */ color: rgb(157, 34, 43);
/* oklch */ color: oklch(45.9% 0.158 22.6);
Tailwind
colors: {
  custom: {
    50: '#c26964',
    500: '#9d222b',
    950: '#000000',
  },
}
SCSS
$custom: #9d222b;
$custom-light: #c26964;
$custom-dark: #000000;
JSON
{
  "hex": "#9d222b",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 43
  },
  "hsl": {
    "h": 355.61,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.15829,
    "h": 22.6
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#9D222B
secondary
#5AC1B9
accent
#E7DB40
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9D222B

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

Preview Lab → · Contrast checker → · Palette generator →

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