#9D1B20#9D1B20

#9D1B20 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.165 H 25.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9D1B20
RGBrgb(157, 27, 32)
HSLhsl(358, 71%, 36%)
HSVhsv(358, 83%, 62%)
CMYKcmyk(0%, 82.8%, 79.6%, 38.4%)
CIE-LABlab(34.10, 51.56, 32.29)
CIE-LCHlch(34.10, 60.83, 32.06°)
OKLaboklab(45.19% 0.1487 0.0706)
OKLCHoklch(45.19% 0.165 25.4)
XYZxyz(14.5591, 8.0586, 2.1551)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B20 #1B9D98
analogous
#9D1B61 #9D1B20 #9D571B
triadic
#9D1B20 #209D1B #1B209D
tetradic
#9D1B20 #619D1B #1B9D98 #571B9D
square
#9D1B20 #619D1B #1B9D98 #571B9D
split-complementary
#9D1B20 #1B9D57 #1B619D
monochromatic
#35090B #691215 #9D1B20 #D1242B #E15157

Accessibility & contrast

On white

8.04
#9D1B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#9D1B20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1B20
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B20#FFFFFF#000000##FFFFFF
##9D1B201.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1F
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#AD001F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9d1b20;
/* rgb */ color: rgb(157, 27, 32);
/* oklch */ color: oklch(45.2% 0.165 25.4);
Tailwind
colors: {
  custom: {
    50: '#c3665c',
    500: '#9d1b20',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b20;
$custom-light: #c3665c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b20",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 32
  },
  "hsl": {
    "h": 357.692,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45191,
    "c": 0.16462,
    "h": 25.4
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#9D1B20
secondary
#50C4BF
accent
#EDE73A
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140604
muted
#837A79

Preview Lab

Preview with #9D1B20

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

Preview Lab → · Contrast checker → · Palette generator →

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