#9D1F25#9D1F25

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

Color values

HEX#9D1F25
RGBrgb(157, 31, 37)
HSLhsl(357, 67%, 37%)
HSVhsv(357, 80%, 62%)
CMYKcmyk(0%, 80.3%, 76.4%, 38.4%)
CIE-LABlab(34.57, 50.61, 29.79)
CIE-LCHlch(34.57, 58.73, 30.48°)
OKLaboklab(45.55% 0.1469 0.0666)
OKLCHoklch(45.55% 0.161 24.4)
XYZxyz(14.7303, 8.2840, 2.5733)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F25 #1F9D97
analogous
#9D1F64 #9D1F25 #9D581F
triadic
#9D1F25 #259D1F #1F259D
tetradic
#9D1F25 #649D1F #1F9D97 #581F9D
square
#9D1F25 #649D1F #1F9D97 #581F9D
split-complementary
#9D1F25 #1F9D58 #1F649D
monochromatic
#370B0D #6A1519 #9D1F25 #D02931 #DE585F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1F25#FFFFFF#000000##FFFFFF
##9D1F251.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)
#464024
Deuteranopia (green-blind)
#655B20
Tritanopia (blue-blind)
#AD0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1f25;
/* rgb */ color: rgb(157, 31, 37);
/* oklch */ color: oklch(45.6% 0.161 24.4);
Tailwind
colors: {
  custom: {
    50: '#c36760',
    500: '#9d1f25',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f25;
$custom-light: #c36760;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f25",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 37
  },
  "hsl": {
    "h": 357.143,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45554,
    "c": 0.16124,
    "h": 24.4
  },
  "luminance": 0.08282
}

Semantic roles & 50–950 ramp

primary
#9D1F25
secondary
#56C2BD
accent
#EAE23E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D1F25

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

Preview Lab → · Contrast checker → · Palette generator →

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