#9D1F26#9D1F26

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

Color values

HEX#9D1F26
RGBrgb(157, 31, 38)
HSLhsl(357, 67%, 37%)
HSVhsv(357, 80%, 62%)
CMYKcmyk(0%, 80.3%, 75.8%, 38.4%)
CIE-LABlab(34.58, 50.65, 29.20)
CIE-LCHlch(34.58, 58.46, 29.96°)
OKLaboklab(45.57% 0.1472 0.0655)
OKLCHoklch(45.57% 0.161 24)
XYZxyz(14.7462, 8.2904, 2.6571)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F26 #1F9D96
analogous
#9D1F65 #9D1F26 #9D571F
triadic
#9D1F26 #269D1F #1F269D
tetradic
#9D1F26 #659D1F #1F9D96 #571F9D
square
#9D1F26 #659D1F #1F9D96 #571F9D
split-complementary
#9D1F26 #1F9D57 #1F659D
monochromatic
#370B0D #6A151A #9D1F26 #D02932 #DE5860

Accessibility & contrast

On white

7.90
#9D1F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1F26
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F26#FFFFFF#000000##FFFFFF
##9D1F261.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.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: #9d1f26;
/* rgb */ color: rgb(157, 31, 38);
/* oklch */ color: oklch(45.6% 0.161 24.0);
Tailwind
colors: {
  custom: {
    50: '#c26760',
    500: '#9d1f26',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f26;
$custom-light: #c26760;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f26",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 356.667,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45568,
    "c": 0.16114,
    "h": 24
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#9D1F26
secondary
#56C2BC
accent
#EAE03E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9D1F26

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

Preview Lab → · Contrast checker → · Palette generator →

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