#9D1E2F#9D1E2F

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

Color values

HEX#9D1E2F
RGBrgb(157, 30, 47)
HSLhsl(352, 68%, 37%)
HSVhsv(352, 81%, 62%)
CMYKcmyk(0%, 80.9%, 70.1%, 38.4%)
CIE-LABlab(34.61, 51.36, 23.62)
CIE-LCHlch(34.61, 56.53, 24.69°)
OKLaboklab(45.63% 0.1516 0.055)
OKLCHoklch(45.63% 0.161 20)
XYZxyz(14.8837, 8.3042, 3.5080)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E2F #1E9D8C
analogous
#9D1E6E #9D1E2F #9D4D1E
triadic
#9D1E2F #2F9D1E #1E2F9D
tetradic
#9D1E2F #6E9D1E #1E9D8C #4D1E9D
square
#9D1E2F #6E9D1E #1E9D8C #4D1E9D
split-complementary
#9D1E2F #1E9D4D #1E6E9D
monochromatic
#360A10 #6A1420 #9D1E2F #D0283E #DF5769

Accessibility & contrast

On white

7.89
#9D1E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E2F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E2F#FFFFFF#000000##FFFFFF
##9D1E2F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402F
Deuteranopia (green-blind)
#645B2B
Tritanopia (blue-blind)
#AD0026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1e2f;
/* rgb */ color: rgb(157, 30, 47);
/* oklch */ color: oklch(45.6% 0.161 20.0);
Tailwind
colors: {
  custom: {
    50: '#c26767',
    500: '#9d1e2f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e2f;
$custom-light: #c26767;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e2f",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 351.969,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45631,
    "c": 0.16124,
    "h": 20
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#9D1E2F
secondary
#54C2B4
accent
#EBD43D
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9D1E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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