#9F1D3D#9F1D3D

#9F1D3D is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.2% C 0.164 H 13.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9F1D3D
RGBrgb(159, 29, 61)
HSLhsl(345, 69%, 37%)
HSVhsv(345, 82%, 62%)
CMYKcmyk(0%, 81.8%, 61.6%, 37.6%)
CIE-LABlab(35.18, 53.04, 15.44)
CIE-LCHlch(35.18, 55.24, 16.23°)
OKLaboklab(46.21% 0.1597 0.0379)
OKLCHoklch(46.21% 0.164 13.3)
XYZxyz(15.5814, 8.5889, 5.2514)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D3D #1D9F7F
analogous
#9F1D7E #9F1D3D #9F3E1D
triadic
#9F1D3D #3D9F1D #1D3D9F
tetradic
#9F1D3D #7E9F1D #1D9F7F #3E1D9F
square
#9F1D3D #7E9F1D #1D9F7F #3E1D9F
split-complementary
#9F1D3D #1D9F3E #1D7E9F
monochromatic
#370A15 #6B1429 #9F1D3D #D32651 #E05678

Accessibility & contrast

On white

7.73
#9F1D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9F1D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D3D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D3D#FFFFFF#000000##FFFFFF
##9F1D3D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43423D
Deuteranopia (green-blind)
#645C3A
Tritanopia (blue-blind)
#AF002B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9f1d3d;
/* rgb */ color: rgb(159, 29, 61);
/* oklch */ color: oklch(46.2% 0.164 13.3);
Tailwind
colors: {
  custom: {
    50: '#c26872',
    500: '#9f1d3d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d3d;
$custom-light: #c26872;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d3d",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 345.231,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46211,
    "c": 0.16411,
    "h": 13.3
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#9F1D3D
secondary
#54C4A8
accent
#ECC13C
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F1D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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