#9D1F1D#9D1F1D

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

Color values

HEX#9D1F1D
RGBrgb(157, 31, 29)
HSLhsl(1, 69%, 36%)
HSVhsv(1, 82%, 62%)
CMYKcmyk(0%, 80.3%, 81.5%, 38.4%)
CIE-LABlab(34.48, 50.32, 34.41)
CIE-LCHlch(34.48, 60.96, 34.36°)
OKLaboklab(45.46% 0.1442 0.0742)
OKLCHoklch(45.46% 0.162 27.2)
XYZxyz(14.6182, 8.2391, 1.9828)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F1D #1D9B9D
analogous
#9D1D5B #9D1F1D #9D5F1D
triadic
#9D1F1D #1D9D1F #1F1D9D
tetradic
#9D1F1D #5B9D1D #1D9B9D #5F1D9D
square
#9D1F1D #5B9D1D #1D9B9D #5F1D9D
split-complementary
#9D1F1D #1D9D5F #1D5B9D
monochromatic
#360B0A #691513 #9D1F1D #D12927 #E05755

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1F1D#FFFFFF#000000##FFFFFF
##9D1F1D1.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)
#47401B
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#AD0020
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1f1d;
/* rgb */ color: rgb(157, 31, 29);
/* oklch */ color: oklch(45.5% 0.162 27.2);
Tailwind
colors: {
  custom: {
    50: '#c3675a',
    500: '#9d1f1d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f1d;
$custom-light: #c3675a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f1d",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 0.938,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45457,
    "c": 0.16215,
    "h": 27.2
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#9D1F1D
secondary
#53C1C3
accent
#E9EC3C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D1F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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