#9D1F1E#9D1F1E

#9D1F1E is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.162 H 26.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#9D1F1E
RGBrgb(157, 31, 30)
HSLhsl(0, 68%, 37%)
HSVhsv(0, 81%, 62%)
CMYKcmyk(0%, 80.3%, 80.9%, 38.4%)
CIE-LABlab(34.49, 50.35, 33.85)
CIE-LCHlch(34.49, 60.67, 33.91°)
OKLaboklab(45.47% 0.1445 0.0733)
OKLCHoklch(45.47% 0.162 26.9)
XYZxyz(14.6307, 8.2442, 2.0490)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F1E #1E9C9D
analogous
#9D1E5D #9D1F1E #9D5E1E
triadic
#9D1F1E #1E9D1F #1F1E9D
tetradic
#9D1F1E #5D9D1E #1E9C9D #5E1E9D
square
#9D1F1E #5D9D1E #1E9C9D #5E1E9D
split-complementary
#9D1F1E #1E9D5E #1E5D9D
monochromatic
#360B0A #6A1514 #9D1F1E #D02928 #DF5857

Accessibility & contrast

On white

7.93
#9D1F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1F1E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F1E#FFFFFF#000000##FFFFFF
##9D1F1E1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401C
Deuteranopia (green-blind)
#665B18
Tritanopia (blue-blind)
#AD0021
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1f1e;
/* rgb */ color: rgb(157, 31, 30);
/* oklch */ color: oklch(45.5% 0.162 26.9);
Tailwind
colors: {
  custom: {
    50: '#c3675b',
    500: '#9d1f1e',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f1e;
$custom-light: #c3675b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f1e",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 30
  },
  "hsl": {
    "h": 0.472,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.16203,
    "h": 26.9
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#9D1F1E
secondary
#54C1C2
accent
#E9EB3D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D1F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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