#9D1E28#9D1E28

#9D1E28 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.162 H 23.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9D1E28
RGBrgb(157, 30, 40)
HSLhsl(355, 68%, 37%)
HSVhsv(355, 81%, 62%)
CMYKcmyk(0%, 80.9%, 74.5%, 38.4%)
CIE-LABlab(34.50, 51.03, 27.88)
CIE-LCHlch(34.50, 58.15, 28.65°)
OKLaboklab(45.52% 0.1489 0.0631)
OKLCHoklch(45.52% 0.162 23)
XYZxyz(14.7536, 8.2522, 2.8231)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E28 #1E9D93
analogous
#9D1E68 #9D1E28 #9D541E
triadic
#9D1E28 #289D1E #1E289D
tetradic
#9D1E28 #689D1E #1E9D93 #541E9D
square
#9D1E28 #689D1E #1E9D93 #541E9D
split-complementary
#9D1E28 #1E9D54 #1E689D
monochromatic
#360A0E #6A141B #9D1E28 #D02835 #DF5761

Accessibility & contrast

On white

7.92
#9D1E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9D1E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E28
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E28#FFFFFF#000000##FFFFFF
##9D1E281.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464027
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#AD0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1e28;
/* rgb */ color: rgb(157, 30, 40);
/* oklch */ color: oklch(45.5% 0.162 23.0);
Tailwind
colors: {
  custom: {
    50: '#c26762',
    500: '#9d1e28',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e28;
$custom-light: #c26762;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e28",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 355.276,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45519,
    "c": 0.1617,
    "h": 23
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#9D1E28
secondary
#54C2BA
accent
#EBDD3D
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9D1E28

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

Preview Lab → · Contrast checker → · Palette generator →

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