#9D1E1A#9D1E1A

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

Color values

HEX#9D1E1A
RGBrgb(157, 30, 26)
HSLhsl(2, 72%, 36%)
HSVhsv(2, 83%, 62%)
CMYKcmyk(0%, 80.9%, 83.4%, 38.4%)
CIE-LABlab(34.34, 50.53, 35.96)
CIE-LCHlch(34.34, 62.01, 35.44°)
OKLaboklab(45.35% 0.1442 0.0765)
OKLCHoklch(45.35% 0.163 27.9)
XYZxyz(14.5572, 8.1736, 1.7883)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E1A #1A999D
analogous
#9D1A57 #9D1E1A #9D5F1A
triadic
#9D1E1A #1A9D1E #1E1A9D
tetradic
#9D1E1A #579D1A #1A999D #5F1A9D
square
#9D1E1A #579D1A #1A999D #5F1A9D
split-complementary
#9D1E1A #1A9D5F #1A579D
monochromatic
#340A09 #681411 #9D1E1A #D22823 #E2544F

Accessibility & contrast

On white

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

On black

2.63
#9D1E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9D1E1A#FFFFFF#000000##FFFFFF
##9D1E1A1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1e1a;
/* rgb */ color: rgb(157, 30, 26);
/* oklch */ color: oklch(45.3% 0.163 27.9);
Tailwind
colors: {
  custom: {
    50: '#c36758',
    500: '#9d1e1a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e1a;
$custom-light: #c36758;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e1a",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 26
  },
  "hsl": {
    "h": 1.832,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45348,
    "c": 0.16324,
    "h": 27.9
  },
  "luminance": 0.08171
}

Semantic roles & 50–950 ramp

primary
#9D1E1A
secondary
#4EC1C4
accent
#E9EE39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9D1E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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