#9D1F32#9D1F32

#9D1F32 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.160 H 18.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9D1F32
RGBrgb(157, 31, 50)
HSLhsl(351, 67%, 37%)
HSVhsv(351, 80%, 62%)
CMYKcmyk(0%, 80.3%, 68.2%, 38.4%)
CIE-LABlab(34.76, 51.23, 21.90)
CIE-LCHlch(34.76, 55.71, 23.15°)
OKLaboklab(45.76% 0.1518 0.0516)
OKLCHoklch(45.76% 0.16 18.8)
XYZxyz(14.9720, 8.3807, 3.8463)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F32 #1F9D8A
analogous
#9D1F71 #9D1F32 #9D4B1F
triadic
#9D1F32 #329D1F #1F329D
tetradic
#9D1F32 #719D1F #1F9D8A #4B1F9D
square
#9D1F32 #719D1F #1F9D8A #4B1F9D
split-complementary
#9D1F32 #1F9D4B #1F719D
monochromatic
#370B11 #6A1522 #9D1F32 #D02942 #DE586C

Accessibility & contrast

On white

7.85
#9D1F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9D1F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F32
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F32#FFFFFF#000000##FFFFFF
##9D1F321.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454132
Deuteranopia (green-blind)
#645B2E
Tritanopia (blue-blind)
#AD0028
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9d1f32;
/* rgb */ color: rgb(157, 31, 50);
/* oklch */ color: oklch(45.8% 0.160 18.8);
Tailwind
colors: {
  custom: {
    50: '#c26869',
    500: '#9d1f32',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f32;
$custom-light: #c26869;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f32",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 50
  },
  "hsl": {
    "h": 350.952,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.16034,
    "h": 18.8
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#9D1F32
secondary
#56C2B2
accent
#EAD03E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9D1F32

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

Preview Lab → · Contrast checker → · Palette generator →

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