#9D2118#9D2118

#9D2118 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.161 H 29.2°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9D2118
RGBrgb(157, 33, 24)
HSLhsl(4, 73%, 35%)
HSVhsv(4, 85%, 62%)
CMYKcmyk(0%, 79%, 84.7%, 38.4%)
CIE-LABlab(34.65, 49.56, 37.33)
CIE-LCHlch(34.65, 62.04, 36.99°)
OKLaboklab(45.57% 0.1408 0.0787)
OKLCHoklch(45.57% 0.161 29.2)
XYZxyz(14.6152, 8.3241, 1.7012)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2118 #18949D
analogous
#9D1851 #9D2118 #9D6318
triadic
#9D2118 #189D21 #21189D
tetradic
#9D2118 #519D18 #18949D #63189D
square
#9D2118 #519D18 #18949D #63189D
split-complementary
#9D2118 #189D63 #18519D
monochromatic
#330B08 #681610 #9D2118 #D22C20 #E4564C

Accessibility & contrast

On white

7.88
#9D2118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9D2118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2118
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2118#FFFFFF#000000##FFFFFF
##9D21181.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484015
Deuteranopia (green-blind)
#675B11
Tritanopia (blue-blind)
#AD0021
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d2118;
/* rgb */ color: rgb(157, 33, 24);
/* oklch */ color: oklch(45.6% 0.161 29.2);
Tailwind
colors: {
  custom: {
    50: '#c36857',
    500: '#9d2118',
    950: '#000000',
  },
}
SCSS
$custom: #9d2118;
$custom-light: #c36857;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2118",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 4.06,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.1613,
    "h": 29.2
  },
  "luminance": 0.08322
}

Semantic roles & 50–950 ramp

primary
#9D2118
secondary
#4BBDC5
accent
#E4F038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D2118

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

Preview Lab → · Contrast checker → · Palette generator →

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