#9D1E2D#9D1E2D

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

Color values

HEX#9D1E2D
RGBrgb(157, 30, 45)
HSLhsl(353, 68%, 37%)
HSVhsv(353, 81%, 62%)
CMYKcmyk(0%, 80.9%, 71.3%, 38.4%)
CIE-LABlab(34.58, 51.26, 24.84)
CIE-LCHlch(34.58, 56.96, 25.86°)
OKLaboklab(45.6% 0.1508 0.0574)
OKLCHoklch(45.6% 0.161 20.9)
XYZxyz(14.8443, 8.2884, 3.3003)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E2D #1E9D8E
analogous
#9D1E6D #9D1E2D #9D4E1E
triadic
#9D1E2D #2D9D1E #1E2D9D
tetradic
#9D1E2D #6D9D1E #1E9D8E #4E1E9D
square
#9D1E2D #6D9D1E #1E9D8E #4E1E9D
split-complementary
#9D1E2D #1E9D4E #1E6D9D
monochromatic
#360A10 #6A141E #9D1E2D #D0283C #DF5767

Accessibility & contrast

On white

7.90
#9D1E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9D1E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E2D
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E2D#FFFFFF#000000##FFFFFF
##9D1E2D1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402C
Deuteranopia (green-blind)
#655B29
Tritanopia (blue-blind)
#AD0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1e2d;
/* rgb */ color: rgb(157, 30, 45);
/* oklch */ color: oklch(45.6% 0.161 20.9);
Tailwind
colors: {
  custom: {
    50: '#c26765',
    500: '#9d1e2d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e2d;
$custom-light: #c26765;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e2d",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 352.913,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.16135,
    "h": 20.9
  },
  "luminance": 0.08286
}

Semantic roles & 50–950 ramp

primary
#9D1E2D
secondary
#54C2B5
accent
#EBD63D
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9D1E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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