#9D1D26#9D1D26

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

Color values

HEX#9D1D26
RGBrgb(157, 29, 38)
HSLhsl(356, 69%, 36%)
HSVhsv(356, 82%, 62%)
CMYKcmyk(0%, 81.5%, 75.8%, 38.4%)
CIE-LABlab(34.37, 51.23, 28.96)
CIE-LCHlch(34.37, 58.85, 29.48°)
OKLaboklab(45.41% 0.1491 0.065)
OKLCHoklch(45.41% 0.163 23.6)
XYZxyz(14.6956, 8.1891, 2.6402)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D26 #1D9D94
analogous
#9D1D66 #9D1D26 #9D541D
triadic
#9D1D26 #269D1D #1D269D
tetradic
#9D1D26 #669D1D #1D9D94 #541D9D
square
#9D1D26 #669D1D #1D9D94 #541D9D
split-complementary
#9D1D26 #1D9D54 #1D669D
monochromatic
#360A0D #691319 #9D1D26 #D12733 #E0555F

Accessibility & contrast

On white

7.96
#9D1D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1D26
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D26#FFFFFF#000000##FFFFFF
##9D1D261.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F25
Deuteranopia (green-blind)
#655B21
Tritanopia (blue-blind)
#AD0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1d26;
/* rgb */ color: rgb(157, 29, 38);
/* oklch */ color: oklch(45.4% 0.163 23.6);
Tailwind
colors: {
  custom: {
    50: '#c36760',
    500: '#9d1d26',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d26;
$custom-light: #c36760;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d26",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 38
  },
  "hsl": {
    "h": 355.781,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.16262,
    "h": 23.6
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#9D1D26
secondary
#53C3BB
accent
#ECDF3C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9D1D26

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

Preview Lab → · Contrast checker → · Palette generator →

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