#9D211B#9D211B

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

Color values

HEX#9D211B
RGBrgb(157, 33, 27)
HSLhsl(3, 71%, 36%)
HSVhsv(3, 83%, 62%)
CMYKcmyk(0%, 79%, 82.8%, 38.4%)
CIE-LABlab(34.68, 49.64, 35.73)
CIE-LCHlch(34.68, 61.16, 35.74°)
OKLaboklab(45.6% 0.1417 0.0764)
OKLCHoklch(45.6% 0.161 28.3)
XYZxyz(14.6481, 8.3373, 1.8747)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D211B #1B979D
analogous
#9D1B56 #9D211B #9D621B
triadic
#9D211B #1B9D21 #211B9D
tetradic
#9D211B #569D1B #1B979D #621B9D
square
#9D211B #569D1B #1B979D #621B9D
split-complementary
#9D211B #1B9D62 #1B569D
monochromatic
#350B09 #691612 #9D211B #D12C24 #E15851

Accessibility & contrast

On white

7.87
#9D211B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9D211B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D211B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D211B#FFFFFF#000000##FFFFFF
##9D211B1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d211b;
/* rgb */ color: rgb(157, 33, 27);
/* oklch */ color: oklch(45.6% 0.161 28.3);
Tailwind
colors: {
  custom: {
    50: '#c36859',
    500: '#9d211b',
    950: '#000000',
  },
}
SCSS
$custom: #9d211b;
$custom-light: #c36859;
$custom-dark: #000000;
JSON
{
  "hex": "#9d211b",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 27
  },
  "hsl": {
    "h": 2.769,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45599,
    "c": 0.16092,
    "h": 28.3
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#9D211B
secondary
#50BEC4
accent
#E5ED3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D211B

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

Preview Lab → · Contrast checker → · Palette generator →

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