#9F1C26#9F1C26

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

Color values

HEX#9F1C26
RGBrgb(159, 28, 38)
HSLhsl(355, 70%, 37%)
HSVhsv(355, 82%, 62%)
CMYKcmyk(0%, 82.4%, 76.1%, 37.6%)
CIE-LABlab(34.69, 52.10, 29.43)
CIE-LCHlch(34.69, 59.84, 29.46°)
OKLaboklab(45.72% 0.1516 0.0659)
OKLCHoklch(45.72% 0.165 23.5)
XYZxyz(15.0650, 8.3438, 2.6506)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C26 #1C9F95
analogous
#9F1C68 #9F1C26 #9F541C
triadic
#9F1C26 #269F1C #1C269F
tetradic
#9F1C26 #689F1C #1C9F95 #541C9F
square
#9F1C26 #689F1C #1C9F95 #541C9F
split-complementary
#9F1C26 #1C9F54 #1C689F
monochromatic
#370A0D #6B131A #9F1C26 #D32532 #E1545F

Accessibility & contrast

On white

7.87
#9F1C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9F1C26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C26
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C26#FFFFFF#000000##FFFFFF
##9F1C261.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464025
Deuteranopia (green-blind)
#665C21
Tritanopia (blue-blind)
#AF0021
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1c26;
/* rgb */ color: rgb(159, 28, 38);
/* oklch */ color: oklch(45.7% 0.165 23.5);
Tailwind
colors: {
  custom: {
    50: '#c46760',
    500: '#9f1c26',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c26;
$custom-light: #c46760;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c26",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 38
  },
  "hsl": {
    "h": 355.42,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.16527,
    "h": 23.5
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#9F1C26
secondary
#53C4BB
accent
#EDDF3B
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1C26

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

Preview Lab → · Contrast checker → · Palette generator →

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