#9F1A28#9F1A28

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

Color values

HEX#9F1A28
RGBrgb(159, 26, 40)
HSLhsl(354, 72%, 36%)
HSVhsv(354, 84%, 62%)
CMYKcmyk(0%, 83.6%, 74.8%, 37.6%)
CIE-LABlab(34.53, 52.72, 28.02)
CIE-LCHlch(34.53, 59.70, 27.99°)
OKLaboklab(45.61% 0.154 0.0633)
OKLCHoklch(45.61% 0.166 22.3)
XYZxyz(15.0523, 8.2653, 2.8099)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A28 #1A9F91
analogous
#9F1A6B #9F1A28 #9F4F1A
triadic
#9F1A28 #289F1A #1A289F
tetradic
#9F1A28 #6B9F1A #1A9F91 #4F1A9F
square
#9F1A28 #6B9F1A #1A9F91 #4F1A9F
split-complementary
#9F1A28 #1A9F4F #1A6B9F
monochromatic
#36090E #6A111B #9F1A28 #D42335 #E35160

Accessibility & contrast

On white

7.92
#9F1A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9F1A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A28
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A28#FFFFFF#000000##FFFFFF
##9F1A281.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F27
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#AF0021
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a28;
/* rgb */ color: rgb(159, 26, 40);
/* oklch */ color: oklch(45.6% 0.166 22.3);
Tailwind
colors: {
  custom: {
    50: '#c46662',
    500: '#9f1a28',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a28;
$custom-light: #c46662;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a28",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 353.684,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45611,
    "c": 0.16648,
    "h": 22.3
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#9F1A28
secondary
#50C5B9
accent
#EFDC39
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1A28

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

Preview Lab → · Contrast checker → · Palette generator →

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