#9D1D2F#9D1D2F

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

Color values

HEX#9D1D2F
RGBrgb(157, 29, 47)
HSLhsl(352, 69%, 36%)
HSVhsv(352, 82%, 62%)
CMYKcmyk(0%, 81.5%, 70.1%, 38.4%)
CIE-LABlab(34.51, 51.65, 23.49)
CIE-LCHlch(34.51, 56.74, 24.46°)
OKLaboklab(45.56% 0.1525 0.0548)
OKLCHoklch(45.56% 0.162 19.8)
XYZxyz(14.8588, 8.2544, 3.4997)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D2F #1D9D8B
analogous
#9D1D6F #9D1D2F #9D4B1D
triadic
#9D1D2F #2F9D1D #1D2F9D
tetradic
#9D1D2F #6F9D1D #1D9D8B #4B1D9D
square
#9D1D2F #6F9D1D #1D9D8B #4B1D9D
split-complementary
#9D1D2F #1D9D4B #1D6F9D
monochromatic
#360A10 #691320 #9D1D2F #D1273E #E05568

Accessibility & contrast

On white

7.92
#9D1D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1D2F
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D2F#FFFFFF#000000##FFFFFF
##9D1D2F1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44402F
Deuteranopia (green-blind)
#645B2B
Tritanopia (blue-blind)
#AD0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1d2f;
/* rgb */ color: rgb(157, 29, 47);
/* oklch */ color: oklch(45.6% 0.162 19.8);
Tailwind
colors: {
  custom: {
    50: '#c26767',
    500: '#9d1d2f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d2f;
$custom-light: #c26767;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d2f",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 351.563,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45556,
    "c": 0.16202,
    "h": 19.8
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#9D1D2F
secondary
#53C3B3
accent
#ECD33C
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9D1D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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