#9D1E1B#9D1E1B

#9D1E1B is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.163 H 27.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9D1E1B
RGBrgb(157, 30, 27)
HSLhsl(1, 71%, 36%)
HSVhsv(1, 83%, 62%)
CMYKcmyk(0%, 80.9%, 82.8%, 38.4%)
CIE-LABlab(34.35, 50.55, 35.41)
CIE-LCHlch(34.35, 61.72, 35.01°)
OKLaboklab(45.36% 0.1445 0.0757)
OKLCHoklch(45.36% 0.163 27.6)
XYZxyz(14.5685, 8.1781, 1.8482)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E1B #1B9A9D
analogous
#9D1B59 #9D1E1B #9D5F1B
triadic
#9D1E1B #1B9D1E #1E1B9D
tetradic
#9D1E1B #599D1B #1B9A9D #5F1B9D
square
#9D1E1B #599D1B #1B9A9D #5F1B9D
split-complementary
#9D1E1B #1B9D5F #1B599D
monochromatic
#350A09 #691412 #9D1E1B #D12824 #E15551

Accessibility & contrast

On white

7.97
#9D1E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9D1E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E1B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E1B#FFFFFF#000000##FFFFFF
##9D1E1B1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F19
Deuteranopia (green-blind)
#665B14
Tritanopia (blue-blind)
#AD001F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1e1b;
/* rgb */ color: rgb(157, 30, 27);
/* oklch */ color: oklch(45.4% 0.163 27.6);
Tailwind
colors: {
  custom: {
    50: '#c36758',
    500: '#9d1e1b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e1b;
$custom-light: #c36758;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e1b",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 27
  },
  "hsl": {
    "h": 1.385,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45358,
    "c": 0.16311,
    "h": 27.6
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#9D1E1B
secondary
#50C1C4
accent
#E9ED3A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D1E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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