#9D222D#9D222D

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

Color values

HEX#9D222D
RGBrgb(157, 34, 45)
HSLhsl(355, 64%, 37%)
HSVhsv(355, 78%, 62%)
CMYKcmyk(0%, 78.3%, 71.3%, 38.4%)
CIE-LABlab(35.01, 50.04, 25.37)
CIE-LCHlch(35.01, 56.10, 26.88°)
OKLaboklab(45.92% 0.1469 0.0586)
OKLCHoklch(45.92% 0.158 21.7)
XYZxyz(14.9520, 8.5039, 3.3362)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D222D #229D92
analogous
#9D226B #9D222D #9D5422
triadic
#9D222D #2D9D22 #222D9D
tetradic
#9D222D #6B9D22 #229D92 #54229D
square
#9D222D #6B9D22 #229D92 #54229D
split-complementary
#9D222D #229D54 #226B9D
monochromatic
#380C10 #6B171F #9D222D #CF2D3B #DC5D69

Accessibility & contrast

On white

7.78
#9D222D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D222D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D222D#FFFFFF#000000##FFFFFF
##9D222D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47422C
Deuteranopia (green-blind)
#665C29
Tritanopia (blue-blind)
#AD0027
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d222d;
/* rgb */ color: rgb(157, 34, 45);
/* oklch */ color: oklch(45.9% 0.158 21.7);
Tailwind
colors: {
  custom: {
    50: '#c26966',
    500: '#9d222d',
    950: '#000000',
  },
}
SCSS
$custom: #9d222d;
$custom-light: #c26966;
$custom-dark: #000000;
JSON
{
  "hex": "#9d222d",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 45
  },
  "hsl": {
    "h": 354.634,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.15813,
    "h": 21.7
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#9D222D
secondary
#5AC1B7
accent
#E7D840
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140705
muted
#827A7A

Preview Lab

Preview with #9D222D

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

Preview Lab → · Contrast checker → · Palette generator →

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