#9D1A1F#9D1A1F

#9D1A1F is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.1% C 0.165 H 25.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9D1A1F
RGBrgb(157, 26, 31)
HSLhsl(358, 72%, 36%)
HSVhsv(358, 83%, 62%)
CMYKcmyk(0%, 83.4%, 80.3%, 38.4%)
CIE-LABlab(34.00, 51.79, 32.77)
CIE-LCHlch(34.00, 61.29, 32.32°)
OKLaboklab(45.11% 0.1493 0.0713)
OKLCHoklch(45.11% 0.165 25.5)
XYZxyz(14.5231, 8.0082, 2.0771)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1A1F #1A9D98
analogous
#9D1A60 #9D1A1F #9D561A
triadic
#9D1A1F #1F9D1A #1A1F9D
tetradic
#9D1A1F #609D1A #1A9D98 #561A9D
square
#9D1A1F #609D1A #1A9D98 #561A9D
split-complementary
#9D1A1F #1A9D56 #1A609D
monochromatic
#34090A #681115 #9D1A1F #D22329 #E24F55

Accessibility & contrast

On white

8.07
#9D1A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#9D1A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1A1F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1A1F#FFFFFF#000000##FFFFFF
##9D1A1F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#AD001E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #9d1a1f;
/* rgb */ color: rgb(157, 26, 31);
/* oklch */ color: oklch(45.1% 0.165 25.5);
Tailwind
colors: {
  custom: {
    50: '#c3665b',
    500: '#9d1a1f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1a1f;
$custom-light: #c3665b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1a1f",
  "rgb": {
    "r": 157,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 357.71,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4511,
    "c": 0.16539,
    "h": 25.5
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#9D1A1F
secondary
#4EC4C0
accent
#EEE739
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140604
muted
#837A79

Preview Lab

Preview with #9D1A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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