#9F1C23#9F1C23

#9F1C23 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.166 H 24.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9F1C23
RGBrgb(159, 28, 35)
HSLhsl(357, 70%, 37%)
HSVhsv(357, 82%, 62%)
CMYKcmyk(0%, 82.4%, 78%, 37.6%)
CIE-LABlab(34.65, 51.99, 31.21)
CIE-LCHlch(34.65, 60.64, 30.98°)
OKLaboklab(45.68% 0.1505 0.0689)
OKLCHoklch(45.68% 0.166 24.6)
XYZxyz(15.0185, 8.3252, 2.4059)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C23 #1C9F98
analogous
#9F1C65 #9F1C23 #9F571C
triadic
#9F1C23 #239F1C #1C239F
tetradic
#9F1C23 #659F1C #1C9F98 #571C9F
square
#9F1C23 #659F1C #1C9F98 #571C9F
split-complementary
#9F1C23 #1C9F57 #1C659F
monochromatic
#370A0C #6B1318 #9F1C23 #D3252E #E1545C

Accessibility & contrast

On white

7.88
#9F1C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9F1C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C23
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C23#FFFFFF#000000##FFFFFF
##9F1C231.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464022
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#AF0020
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1c23;
/* rgb */ color: rgb(159, 28, 35);
/* oklch */ color: oklch(45.7% 0.166 24.6);
Tailwind
colors: {
  custom: {
    50: '#c4675e',
    500: '#9f1c23',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c23;
$custom-light: #c4675e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c23",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 35
  },
  "hsl": {
    "h": 356.794,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45681,
    "c": 0.16556,
    "h": 24.6
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#9F1C23
secondary
#53C4BE
accent
#EDE33B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9F1C23

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

Preview Lab → · Contrast checker → · Palette generator →

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