#9C1F2A#9C1F2A

#9C1F2A is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.160 H 22.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9C1F2A
RGBrgb(156, 31, 42)
HSLhsl(355, 67%, 37%)
HSVhsv(355, 80%, 61%)
CMYKcmyk(0%, 80.1%, 73.1%, 38.8%)
CIE-LABlab(34.43, 50.52, 26.50)
CIE-LCHlch(34.43, 57.05, 27.68°)
OKLaboklab(45.44% 0.1479 0.0606)
OKLCHoklch(45.44% 0.16 22.3)
XYZxyz(14.6199, 8.2174, 3.0064)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F2A #1F9C91
analogous
#9C1F69 #9C1F2A #9C531F
triadic
#9C1F2A #2A9C1F #1F2A9C
tetradic
#9C1F2A #699C1F #1F9C91 #531F9C
square
#9C1F2A #699C1F #1F9C91 #531F9C
split-complementary
#9C1F2A #1F9C53 #1F699C
monochromatic
#360B0F #69151C #9C1F2A #CF2938 #DE5863

Accessibility & contrast

On white

7.95
#9C1F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9C1F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F2A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F2A#FFFFFF#000000##FFFFFF
##9C1F2A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454029
Deuteranopia (green-blind)
#645B26
Tritanopia (blue-blind)
#AC0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9c1f2a;
/* rgb */ color: rgb(156, 31, 42);
/* oklch */ color: oklch(45.4% 0.160 22.3);
Tailwind
colors: {
  custom: {
    50: '#c16763',
    500: '#9c1f2a',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f2a;
$custom-light: #c16763;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f2a",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 354.72,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45439,
    "c": 0.15979,
    "h": 22.3
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#9C1F2A
secondary
#55C1B8
accent
#EADB3E
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9C1F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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