#9D2218#9D2218

#9D2218 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.161 H 29.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9D2218
RGBrgb(157, 34, 24)
HSLhsl(5, 73%, 35%)
HSVhsv(5, 85%, 62%)
CMYKcmyk(0%, 78.3%, 84.7%, 38.4%)
CIE-LABlab(34.76, 49.24, 37.43)
CIE-LCHlch(34.76, 61.85, 37.24°)
OKLaboklab(45.66% 0.1398 0.079)
OKLCHoklch(45.66% 0.161 29.5)
XYZxyz(14.6433, 8.3805, 1.7105)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2218 #18939D
analogous
#9D1851 #9D2218 #9D6418
triadic
#9D2218 #189D22 #22189D
tetradic
#9D2218 #519D18 #18939D #64189D
square
#9D2218 #519D18 #18939D #64189D
split-complementary
#9D2218 #189D64 #18519D
monochromatic
#330B08 #681710 #9D2218 #D22D20 #E4574C

Accessibility & contrast

On white

7.85
#9D2218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D2218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D2218
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2218#FFFFFF#000000##FFFFFF
##9D22181.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2218;
/* rgb */ color: rgb(157, 34, 24);
/* oklch */ color: oklch(45.7% 0.161 29.5);
Tailwind
colors: {
  custom: {
    50: '#c36857',
    500: '#9d2218',
    950: '#000000',
  },
}
SCSS
$custom: #9d2218;
$custom-light: #c36857;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2218",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 4.511,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45656,
    "c": 0.16054,
    "h": 29.5
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#9D2218
secondary
#4BBCC5
accent
#E2F038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D2218

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

Preview Lab → · Contrast checker → · Palette generator →

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