#9C1F31#9C1F31

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

Color values

HEX#9C1F31
RGBrgb(156, 31, 49)
HSLhsl(351, 67%, 37%)
HSVhsv(351, 80%, 61%)
CMYKcmyk(0%, 80.1%, 68.6%, 38.8%)
CIE-LABlab(34.54, 50.87, 22.22)
CIE-LCHlch(34.54, 55.51, 23.59°)
OKLaboklab(45.56% 0.1506 0.0523)
OKLCHoklch(45.56% 0.159 19.1)
XYZxyz(14.7563, 8.2719, 3.7248)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F31 #1F9C8A
analogous
#9C1F70 #9C1F31 #9C4C1F
triadic
#9C1F31 #319C1F #1F319C
tetradic
#9C1F31 #709C1F #1F9C8A #4C1F9C
square
#9C1F31 #709C1F #1F9C8A #4C1F9C
split-complementary
#9C1F31 #1F9C4C #1F709C
monochromatic
#360B11 #691521 #9C1F31 #CF2941 #DE586B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C1F31#FFFFFF#000000##FFFFFF
##9C1F311.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)
#454031
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#AC0027
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9c1f31;
/* rgb */ color: rgb(156, 31, 49);
/* oklch */ color: oklch(45.6% 0.159 19.1);
Tailwind
colors: {
  custom: {
    50: '#c16869',
    500: '#9c1f31',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f31;
$custom-light: #c16869;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f31",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 49
  },
  "hsl": {
    "h": 351.36,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45557,
    "c": 0.1594,
    "h": 19.1
  },
  "luminance": 0.0827
}

Semantic roles & 50–950 ramp

primary
#9C1F31
secondary
#55C1B2
accent
#EAD13E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9C1F31

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

Preview Lab → · Contrast checker → · Palette generator →

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