#9D1F23#9D1F23

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

Color values

HEX#9D1F23
RGBrgb(157, 31, 35)
HSLhsl(358, 67%, 37%)
HSVhsv(358, 80%, 62%)
CMYKcmyk(0%, 80.3%, 77.7%, 38.4%)
CIE-LABlab(34.54, 50.53, 30.97)
CIE-LCHlch(34.54, 59.27, 31.50°)
OKLaboklab(45.53% 0.1462 0.0686)
OKLCHoklch(45.53% 0.161 25.1)
XYZxyz(14.6998, 8.2718, 2.4124)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F23 #1F9D99
analogous
#9D1F62 #9D1F23 #9D5A1F
triadic
#9D1F23 #239D1F #1F239D
tetradic
#9D1F23 #629D1F #1F9D99 #5A1F9D
square
#9D1F23 #629D1F #1F9D99 #5A1F9D
split-complementary
#9D1F23 #1F9D5A #1F629D
monochromatic
#370B0C #6A1518 #9D1F23 #D0292E #DE585D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1F23#FFFFFF#000000##FFFFFF
##9D1F231.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474022
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#AD0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9d1f23;
/* rgb */ color: rgb(157, 31, 35);
/* oklch */ color: oklch(45.5% 0.161 25.1);
Tailwind
colors: {
  custom: {
    50: '#c3675e',
    500: '#9d1f23',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f23;
$custom-light: #c3675e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f23",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 358.095,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.16145,
    "h": 25.1
  },
  "luminance": 0.08269
}

Semantic roles & 50–950 ramp

primary
#9D1F23
secondary
#56C2BE
accent
#EAE43E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9D1F23

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

Preview Lab → · Contrast checker → · Palette generator →

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