#9F1D22#9F1D22

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

Color values

HEX#9F1D22
RGBrgb(159, 29, 34)
HSLhsl(358, 69%, 37%)
HSVhsv(358, 82%, 62%)
CMYKcmyk(0%, 81.8%, 78.6%, 37.6%)
CIE-LABlab(34.74, 51.68, 31.90)
CIE-LCHlch(34.74, 60.73, 31.69°)
OKLaboklab(45.74% 0.1493 0.0702)
OKLCHoklch(45.74% 0.165 25.2)
XYZxyz(15.0280, 8.3676, 2.3369)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D22 #1D9F9A
analogous
#9F1D63 #9F1D22 #9F591D
triadic
#9F1D22 #229F1D #1D229F
tetradic
#9F1D22 #639F1D #1D9F9A #591D9F
square
#9F1D22 #639F1D #1D9F9A #591D9F
split-complementary
#9F1D22 #1D9F59 #1D639F
monochromatic
#370A0C #6B1417 #9F1D22 #D3262D #E0565B

Accessibility & contrast

On white

7.86
#9F1D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1D22
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D22#FFFFFF#000000##FFFFFF
##9F1D221.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474021
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#B00021
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1d22;
/* rgb */ color: rgb(159, 29, 34);
/* oklch */ color: oklch(45.7% 0.165 25.2);
Tailwind
colors: {
  custom: {
    50: '#c4675d',
    500: '#9f1d22',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d22;
$custom-light: #c4675d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d22",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 34
  },
  "hsl": {
    "h": 357.692,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45741,
    "c": 0.16496,
    "h": 25.2
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#9F1D22
secondary
#54C4BF
accent
#ECE53C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9F1D22

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

Preview Lab → · Contrast checker → · Palette generator →

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