#9D1B3B#9D1B3B

#9D1B3B is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.164 H 13.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9D1B3B
RGBrgb(157, 27, 59)
HSLhsl(345, 71%, 36%)
HSVhsv(345, 83%, 62%)
CMYKcmyk(0%, 82.8%, 62.4%, 38.4%)
CIE-LABlab(34.54, 52.89, 15.81)
CIE-LCHlch(34.54, 55.20, 16.64°)
OKLaboklab(45.65% 0.1591 0.0386)
OKLCHoklch(45.65% 0.164 13.7)
XYZxyz(15.0876, 8.2700, 4.9387)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B3B #1B9D7D
analogous
#9D1B7C #9D1B3B #9D3C1B
triadic
#9D1B3B #3B9D1B #1B3B9D
tetradic
#9D1B3B #7C9D1B #1B9D7D #3C1B9D
square
#9D1B3B #7C9D1B #1B9D7D #3C1B9D
split-complementary
#9D1B3B #1B9D3C #1B7C9D
monochromatic
#350914 #691227 #9D1B3B #D1244F #E15175

Accessibility & contrast

On white

7.91
#9D1B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1B3B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B3B#FFFFFF#000000##FFFFFF
##9D1B3B1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42403B
Deuteranopia (green-blind)
#625B37
Tritanopia (blue-blind)
#AC0029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1b3b;
/* rgb */ color: rgb(157, 27, 59);
/* oklch */ color: oklch(45.7% 0.164 13.7);
Tailwind
colors: {
  custom: {
    50: '#c16770',
    500: '#9d1b3b',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b3b;
$custom-light: #c16770;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b3b",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 59
  },
  "hsl": {
    "h": 345.231,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.16369,
    "h": 13.7
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#9D1B3B
secondary
#50C4A7
accent
#EDC13A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9D1B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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