#9D1E2C#9D1E2C

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

Color values

HEX#9D1E2C
RGBrgb(157, 30, 44)
HSLhsl(353, 68%, 37%)
HSVhsv(353, 81%, 62%)
CMYKcmyk(0%, 80.9%, 72%, 38.4%)
CIE-LABlab(34.56, 51.21, 25.45)
CIE-LCHlch(34.56, 57.19, 26.43°)
OKLaboklab(45.58% 0.1504 0.0586)
OKLCHoklch(45.58% 0.161 21.3)
XYZxyz(14.8252, 8.2808, 3.2001)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E2C #1E9D8F
analogous
#9D1E6C #9D1E2C #9D501E
triadic
#9D1E2C #2C9D1E #1E2C9D
tetradic
#9D1E2C #6C9D1E #1E9D8F #501E9D
square
#9D1E2C #6C9D1E #1E9D8F #501E9D
split-complementary
#9D1E2C #1E9D50 #1E6C9D
monochromatic
#360A0F #6A141E #9D1E2C #D0283A #DF5766

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1E2C#FFFFFF#000000##FFFFFF
##9D1E2C1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1e2c;
/* rgb */ color: rgb(157, 30, 44);
/* oklch */ color: oklch(45.6% 0.161 21.3);
Tailwind
colors: {
  custom: {
    50: '#c26765',
    500: '#9d1e2c',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e2c;
$custom-light: #c26765;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e2c",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 44
  },
  "hsl": {
    "h": 353.386,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4558,
    "c": 0.1614,
    "h": 21.3
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#9D1E2C
secondary
#54C2B6
accent
#EBD83D
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9D1E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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