#9C1F23#9C1F23

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

Color values

HEX#9C1F23
RGBrgb(156, 31, 35)
HSLhsl(358, 67%, 37%)
HSVhsv(358, 80%, 61%)
CMYKcmyk(0%, 80.1%, 77.6%, 38.8%)
CIE-LABlab(34.34, 50.23, 30.69)
CIE-LCHlch(34.34, 58.86, 31.42°)
OKLaboklab(45.34% 0.1453 0.068)
OKLCHoklch(45.34% 0.16 25.1)
XYZxyz(14.5054, 8.1716, 2.4033)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F23 #1F9C98
analogous
#9C1F62 #9C1F23 #9C5A1F
triadic
#9C1F23 #239C1F #1F239C
tetradic
#9C1F23 #629C1F #1F9C98 #5A1F9C
square
#9C1F23 #629C1F #1F9C98 #5A1F9C
split-complementary
#9C1F23 #1F9C5A #1F629C
monochromatic
#360B0C #691518 #9C1F23 #CF292E #DE585C

Accessibility & contrast

On white

7.97
#9C1F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#9C1F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F23
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F23#FFFFFF#000000##FFFFFF
##9C1F231.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464022
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#AC0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9c1f23;
/* rgb */ color: rgb(156, 31, 35);
/* oklch */ color: oklch(45.3% 0.160 25.1);
Tailwind
colors: {
  custom: {
    50: '#c2675e',
    500: '#9c1f23',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f23;
$custom-light: #c2675e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f23",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 35
  },
  "hsl": {
    "h": 358.08,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45339,
    "c": 0.16046,
    "h": 25.1
  },
  "luminance": 0.08169
}

Semantic roles & 50–950 ramp

primary
#9C1F23
secondary
#55C1BE
accent
#EAE43E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9C1F23

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

Preview Lab → · Contrast checker → · Palette generator →

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