#9F1A2C#9F1A2C

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

Color values

HEX#9F1A2C
RGBrgb(159, 26, 44)
HSLhsl(352, 72%, 36%)
HSVhsv(352, 84%, 62%)
CMYKcmyk(0%, 83.6%, 72.3%, 37.6%)
CIE-LABlab(34.59, 52.89, 25.58)
CIE-LCHlch(34.59, 58.76, 25.81°)
OKLaboklab(45.67% 0.1555 0.0588)
OKLCHoklch(45.67% 0.166 20.7)
XYZxyz(15.1239, 8.2940, 3.1870)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A2C #1A9F8D
analogous
#9F1A6F #9F1A2C #9F4B1A
triadic
#9F1A2C #2C9F1A #1A2C9F
tetradic
#9F1A2C #6F9F1A #1A9F8D #4B1A9F
square
#9F1A2C #6F9F1A #1A9F8D #4B1A9F
split-complementary
#9F1A2C #1A9F4B #1A6F9F
monochromatic
#36090F #6A111D #9F1A2C #D4233B #E35165

Accessibility & contrast

On white

7.90
#9F1A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1A2C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A2C#FFFFFF#000000##FFFFFF
##9F1A2C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2B
Deuteranopia (green-blind)
#655B27
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a2c;
/* rgb */ color: rgb(159, 26, 44);
/* oklch */ color: oklch(45.7% 0.166 20.7);
Tailwind
colors: {
  custom: {
    50: '#c46665',
    500: '#9f1a2c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a2c;
$custom-light: #c46665;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a2c",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 351.88,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45673,
    "c": 0.16622,
    "h": 20.7
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#9F1A2C
secondary
#50C5B5
accent
#EFD639
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9F1A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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