#9F1C2A#9F1C2A

#9F1C2A is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.165 H 21.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#9F1C2A
RGBrgb(159, 28, 42)
HSLhsl(354, 70%, 37%)
HSVhsv(354, 82%, 62%)
CMYKcmyk(0%, 82.4%, 73.6%, 37.6%)
CIE-LABlab(34.74, 52.27, 27.02)
CIE-LCHlch(34.74, 58.85, 27.34°)
OKLaboklab(45.78% 0.153 0.0616)
OKLCHoklch(45.78% 0.165 21.9)
XYZxyz(15.1330, 8.3710, 3.0090)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C2A #1C9F91
analogous
#9F1C6C #9F1C2A #9F501C
triadic
#9F1C2A #2A9F1C #1C2A9F
tetradic
#9F1C2A #6C9F1C #1C9F91 #501C9F
square
#9F1C2A #6C9F1C #1C9F91 #501C9F
split-complementary
#9F1C2A #1C9F50 #1C6C9F
monochromatic
#370A0F #6B131C #9F1C2A #D32538 #E15463

Accessibility & contrast

On white

7.85
#9F1C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1C2A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C2A#FFFFFF#000000##FFFFFF
##9F1C2A1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454029
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1c2a;
/* rgb */ color: rgb(159, 28, 42);
/* oklch */ color: oklch(45.8% 0.165 21.9);
Tailwind
colors: {
  custom: {
    50: '#c46763',
    500: '#9f1c2a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c2a;
$custom-light: #c46763;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c2a",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 353.588,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.16495,
    "h": 21.9
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#9F1C2A
secondary
#53C4B8
accent
#EDDA3B
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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