#9D1D39#9D1D39

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

Color values

HEX#9D1D39
RGBrgb(157, 29, 57)
HSLhsl(347, 69%, 36%)
HSVhsv(347, 82%, 62%)
CMYKcmyk(0%, 81.5%, 63.7%, 38.4%)
CIE-LABlab(34.69, 52.21, 17.31)
CIE-LCHlch(34.69, 55.01, 18.34°)
OKLaboklab(45.75% 0.1565 0.042)
OKLCHoklch(45.75% 0.162 15)
XYZxyz(15.0841, 8.3445, 4.6865)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D39 #1D9D81
analogous
#9D1D79 #9D1D39 #9D411D
triadic
#9D1D39 #399D1D #1D399D
tetradic
#9D1D39 #799D1D #1D9D81 #411D9D
square
#9D1D39 #799D1D #1D9D81 #411D9D
split-complementary
#9D1D39 #1D9D41 #1D799D
monochromatic
#360A13 #691326 #9D1D39 #D1274C #E05573

Accessibility & contrast

On white

7.87
#9D1D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9D1D39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1D39
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D39#FFFFFF#000000##FFFFFF
##9D1D391.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434139
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#AC0029
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1d39;
/* rgb */ color: rgb(157, 29, 57);
/* oklch */ color: oklch(45.8% 0.162 15.0);
Tailwind
colors: {
  custom: {
    50: '#c1676f',
    500: '#9d1d39',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d39;
$custom-light: #c1676f;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d39",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 57
  },
  "hsl": {
    "h": 346.875,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.16201,
    "h": 15
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#9D1D39
secondary
#53C3AA
accent
#ECC53C
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1D39

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

Preview Lab → · Contrast checker → · Palette generator →

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