#9C1F2B#9C1F2B

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

Color values

HEX#9C1F2B
RGBrgb(156, 31, 43)
HSLhsl(354, 67%, 37%)
HSVhsv(354, 80%, 61%)
CMYKcmyk(0%, 80.1%, 72.4%, 38.8%)
CIE-LABlab(34.45, 50.57, 25.89)
CIE-LCHlch(34.45, 56.81, 27.11°)
OKLaboklab(45.45% 0.1483 0.0594)
OKLCHoklch(45.45% 0.16 21.8)
XYZxyz(14.6380, 8.2246, 3.1018)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F2B #1F9C90
analogous
#9C1F6A #9C1F2B #9C521F
triadic
#9C1F2B #2B9C1F #1F2B9C
tetradic
#9C1F2B #6A9C1F #1F9C90 #521F9C
square
#9C1F2B #6A9C1F #1F9C90 #521F9C
split-complementary
#9C1F2B #1F9C52 #1F6A9C
monochromatic
#360B0F #69151D #9C1F2B #CF2939 #DE5865

Accessibility & contrast

On white

7.94
#9C1F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C1F2B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F2B#FFFFFF#000000##FFFFFF
##9C1F2B1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402A
Deuteranopia (green-blind)
#645B27
Tritanopia (blue-blind)
#AC0025
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9c1f2b;
/* rgb */ color: rgb(156, 31, 43);
/* oklch */ color: oklch(45.5% 0.160 21.8);
Tailwind
colors: {
  custom: {
    50: '#c16764',
    500: '#9c1f2b',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f2b;
$custom-light: #c16764;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f2b",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 354.24,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45454,
    "c": 0.15972,
    "h": 21.8
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#9C1F2B
secondary
#55C1B7
accent
#EAD93E
background
#FCF6F5
surface
#F9EBEA
border
#D2C6C6
text
#140705
muted
#827A79

Preview Lab

Preview with #9C1F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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