#9D1E2B#9D1E2B

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

Color values

HEX#9D1E2B
RGBrgb(157, 30, 43)
HSLhsl(354, 68%, 37%)
HSVhsv(354, 81%, 62%)
CMYKcmyk(0%, 80.9%, 72.6%, 38.4%)
CIE-LABlab(34.55, 51.17, 26.06)
CIE-LCHlch(34.55, 57.42, 26.99°)
OKLaboklab(45.56% 0.15 0.0598)
OKLCHoklch(45.56% 0.161 21.7)
XYZxyz(14.8067, 8.2734, 3.1023)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E2B #1E9D90
analogous
#9D1E6B #9D1E2B #9D511E
triadic
#9D1E2B #2B9D1E #1E2B9D
tetradic
#9D1E2B #6B9D1E #1E9D90 #511E9D
square
#9D1E2B #6B9D1E #1E9D90 #511E9D
split-complementary
#9D1E2B #1E9D51 #1E6B9D
monochromatic
#360A0F #6A141D #9D1E2B #D02839 #DF5765

Accessibility & contrast

On white

7.91
#9D1E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9D1E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E2B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E2B#FFFFFF#000000##FFFFFF
##9D1E2B1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402A
Deuteranopia (green-blind)
#655B27
Tritanopia (blue-blind)
#AD0024
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1e2b;
/* rgb */ color: rgb(157, 30, 43);
/* oklch */ color: oklch(45.6% 0.161 21.7);
Tailwind
colors: {
  custom: {
    50: '#c26764',
    500: '#9d1e2b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e2b;
$custom-light: #c26764;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e2b",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 353.858,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45564,
    "c": 0.16147,
    "h": 21.7
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

primary
#9D1E2B
secondary
#54C2B7
accent
#EBD93D
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9D1E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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