#9D211F#9D211F

#9D211F is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.6% C 0.160 H 27.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9D211F
RGBrgb(157, 33, 31)
HSLhsl(1, 67%, 37%)
HSVhsv(1, 80%, 62%)
CMYKcmyk(0%, 79%, 80.3%, 38.4%)
CIE-LABlab(34.72, 49.77, 33.51)
CIE-LCHlch(34.72, 60.00, 33.95°)
OKLaboklab(45.64% 0.1429 0.0729)
OKLCHoklch(45.64% 0.16 27)
XYZxyz(14.6976, 8.3571, 2.1353)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D211F #1F9B9D
analogous
#9D1F5C #9D211F #9D601F
triadic
#9D211F #1F9D21 #211F9D
tetradic
#9D211F #5C9D1F #1F9B9D #601F9D
square
#9D211F #5C9D1F #1F9B9D #601F9D
split-complementary
#9D211F #1F9D60 #1F5C9D
monochromatic
#370C0B #6A1615 #9D211F #D02C29 #DE5A58

Accessibility & contrast

On white

7.86
#9D211F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D211F
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D211F#FFFFFF#000000##FFFFFF
##9D211F1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48401D
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#AD0022
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d211f;
/* rgb */ color: rgb(157, 33, 31);
/* oklch */ color: oklch(45.6% 0.160 27.0);
Tailwind
colors: {
  custom: {
    50: '#c3685b',
    500: '#9d211f',
    950: '#000000',
  },
}
SCSS
$custom: #9d211f;
$custom-light: #c3685b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d211f",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 31
  },
  "hsl": {
    "h": 0.952,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.1604,
    "h": 27
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#9D211F
secondary
#56C0C2
accent
#E7EA3E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D211F

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

Preview Lab → · Contrast checker → · Palette generator →

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