#9D1E31#9D1E31

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

Color values

HEX#9D1E31
RGBrgb(157, 30, 49)
HSLhsl(351, 68%, 37%)
HSVhsv(351, 81%, 62%)
CMYKcmyk(0%, 80.9%, 68.8%, 38.4%)
CIE-LABlab(34.64, 51.47, 22.39)
CIE-LCHlch(34.64, 56.12, 23.51°)
OKLaboklab(45.67% 0.1524 0.0526)
OKLCHoklch(45.67% 0.161 19)
XYZxyz(14.9250, 8.3207, 3.7253)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E31 #1E9D8A
analogous
#9D1E71 #9D1E31 #9D4B1E
triadic
#9D1E31 #319D1E #1E319D
tetradic
#9D1E31 #719D1E #1E9D8A #4B1E9D
square
#9D1E31 #719D1E #1E9D8A #4B1E9D
split-complementary
#9D1E31 #1E9D4B #1E719D
monochromatic
#360A11 #6A1421 #9D1E31 #D02841 #DF576B

Accessibility & contrast

On white

7.88
#9D1E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E31
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E31#FFFFFF#000000##FFFFFF
##9D1E311.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454031
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#AD0027
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1e31;
/* rgb */ color: rgb(157, 30, 49);
/* oklch */ color: oklch(45.7% 0.161 19.0);
Tailwind
colors: {
  custom: {
    50: '#c26769',
    500: '#9d1e31',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e31;
$custom-light: #c26769;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e31",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 49
  },
  "hsl": {
    "h": 351.024,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.16117,
    "h": 19
  },
  "luminance": 0.08318
}

Semantic roles & 50–950 ramp

primary
#9D1E31
secondary
#54C2B2
accent
#EBD13D
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9D1E31

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

Preview Lab → · Contrast checker → · Palette generator →

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