#9F1A27#9F1A27

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

Color values

HEX#9F1A27
RGBrgb(159, 26, 39)
HSLhsl(354, 72%, 36%)
HSVhsv(354, 84%, 62%)
CMYKcmyk(0%, 83.6%, 75.5%, 37.6%)
CIE-LABlab(34.52, 52.67, 28.62)
CIE-LCHlch(34.52, 59.95, 28.52°)
OKLaboklab(45.6% 0.1536 0.0644)
OKLCHoklch(45.6% 0.167 22.7)
XYZxyz(15.0355, 8.2586, 2.7215)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A27 #1A9F92
analogous
#9F1A6A #9F1A27 #9F501A
triadic
#9F1A27 #279F1A #1A279F
tetradic
#9F1A27 #6A9F1A #1A9F92 #501A9F
square
#9F1A27 #6A9F1A #1A9F92 #501A9F
split-complementary
#9F1A27 #1A9F50 #1A6A9F
monochromatic
#36090D #6A111A #9F1A27 #D42334 #E3515F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1A27#FFFFFF#000000##FFFFFF
##9F1A271.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)
#453F26
Deuteranopia (green-blind)
#665B22
Tritanopia (blue-blind)
#AF0021
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a27;
/* rgb */ color: rgb(159, 26, 39);
/* oklch */ color: oklch(45.6% 0.167 22.7);
Tailwind
colors: {
  custom: {
    50: '#c46661',
    500: '#9f1a27',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a27;
$custom-light: #c46661;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a27",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 39
  },
  "hsl": {
    "h": 354.135,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.16656,
    "h": 22.7
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#9F1A27
secondary
#50C5BA
accent
#EFDD39
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1A27

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

Preview Lab → · Contrast checker → · Palette generator →

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