#9D2223#9D2223

#9D2223 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.159 H 25.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9D2223
RGBrgb(157, 34, 35)
HSLhsl(360, 64%, 37%)
HSVhsv(360, 78%, 62%)
CMYKcmyk(0%, 78.3%, 77.7%, 38.4%)
CIE-LABlab(34.87, 49.60, 31.33)
CIE-LCHlch(34.87, 58.67, 32.28°)
OKLaboklab(45.77% 0.1432 0.0694)
OKLCHoklch(45.77% 0.159 25.8)
XYZxyz(14.7818, 8.4358, 2.4397)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2223 #229D9C
analogous
#9D2261 #9D2223 #9D5E22
triadic
#9D2223 #239D22 #22239D
tetradic
#9D2223 #619D22 #229D9C #5E229D
square
#9D2223 #619D22 #229D9C #5E229D
split-complementary
#9D2223 #229D5E #22619D
monochromatic
#380C0D #6B1718 #9D2223 #CF2D2E #DC5D5E

Accessibility & contrast

On white

7.82
#9D2223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D2223
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2223#FFFFFF#000000##FFFFFF
##9D22231.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484122
Deuteranopia (green-blind)
#665C1E
Tritanopia (blue-blind)
#AD0024
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d2223;
/* rgb */ color: rgb(157, 34, 35);
/* oklch */ color: oklch(45.8% 0.159 25.8);
Tailwind
colors: {
  custom: {
    50: '#c3695e',
    500: '#9d2223',
    950: '#000000',
  },
}
SCSS
$custom: #9d2223;
$custom-light: #c3695e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2223",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 359.512,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45774,
    "c": 0.15913,
    "h": 25.8
  },
  "luminance": 0.08434
}

Semantic roles & 50–950 ramp

primary
#9D2223
secondary
#5AC1C0
accent
#E7E640
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D2223

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

Preview Lab → · Contrast checker → · Palette generator →

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