#9D1E26#9D1E26

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

Color values

HEX#9D1E26
RGBrgb(157, 30, 38)
HSLhsl(356, 68%, 37%)
HSVhsv(356, 81%, 62%)
CMYKcmyk(0%, 80.9%, 75.8%, 38.4%)
CIE-LABlab(34.48, 50.95, 29.08)
CIE-LCHlch(34.48, 58.66, 29.72°)
OKLaboklab(45.49% 0.1482 0.0653)
OKLCHoklch(45.49% 0.162 23.8)
XYZxyz(14.7205, 8.2389, 2.6485)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E26 #1E9D95
analogous
#9D1E66 #9D1E26 #9D551E
triadic
#9D1E26 #269D1E #1E269D
tetradic
#9D1E26 #669D1E #1E9D95 #551E9D
square
#9D1E26 #669D1E #1E9D95 #551E9D
split-complementary
#9D1E26 #1E9D55 #1E669D
monochromatic
#360A0D #6A141A #9D1E26 #D02832 #DF575F

Accessibility & contrast

On white

7.93
#9D1E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1E26
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E26#FFFFFF#000000##FFFFFF
##9D1E261.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1e26;
/* rgb */ color: rgb(157, 30, 38);
/* oklch */ color: oklch(45.5% 0.162 23.8);
Tailwind
colors: {
  custom: {
    50: '#c26760',
    500: '#9d1e26',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e26;
$custom-light: #c26760;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e26",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 356.22,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4549,
    "c": 0.16188,
    "h": 23.8
  },
  "luminance": 0.08237
}

Semantic roles & 50–950 ramp

primary
#9D1E26
secondary
#54C2BB
accent
#EBE03D
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9D1E26

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

Preview Lab → · Contrast checker → · Palette generator →

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