#9F1A2D#9F1A2D

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

Color values

HEX#9F1A2D
RGBrgb(159, 26, 45)
HSLhsl(351, 72%, 36%)
HSVhsv(351, 84%, 62%)
CMYKcmyk(0%, 83.6%, 71.7%, 37.6%)
CIE-LABlab(34.60, 52.94, 24.97)
CIE-LCHlch(34.60, 58.53, 25.25°)
OKLaboklab(45.69% 0.1559 0.0576)
OKLCHoklch(45.69% 0.166 20.3)
XYZxyz(15.1429, 8.3016, 3.2872)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A2D #1A9F8C
analogous
#9F1A70 #9F1A2D #9F4A1A
triadic
#9F1A2D #2D9F1A #1A2D9F
tetradic
#9F1A2D #709F1A #1A9F8C #4A1A9F
square
#9F1A2D #709F1A #1A9F8C #4A1A9F
split-complementary
#9F1A2D #1A9F4A #1A709F
monochromatic
#36090F #6A111E #9F1A2D #D4233C #E35166

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1A2D#FFFFFF#000000##FFFFFF
##9F1A2D1.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)
#443F2D
Deuteranopia (green-blind)
#655B29
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a2d;
/* rgb */ color: rgb(159, 26, 45);
/* oklch */ color: oklch(45.7% 0.166 20.3);
Tailwind
colors: {
  custom: {
    50: '#c46665',
    500: '#9f1a2d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a2d;
$custom-light: #c46665;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a2d",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 351.429,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45689,
    "c": 0.16618,
    "h": 20.3
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#9F1A2D
secondary
#50C5B4
accent
#EFD539
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9F1A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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