#9F1D21#9F1D21

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

Color values

HEX#9F1D21
RGBrgb(159, 29, 33)
HSLhsl(358, 69%, 37%)
HSVhsv(358, 82%, 62%)
CMYKcmyk(0%, 81.8%, 79.2%, 37.6%)
CIE-LABlab(34.73, 51.64, 32.48)
CIE-LCHlch(34.73, 61.00, 32.17°)
OKLaboklab(45.73% 0.149 0.0711)
OKLCHoklch(45.73% 0.165 25.5)
XYZxyz(15.0138, 8.3619, 2.2620)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D21 #1D9F9B
analogous
#9F1D62 #9F1D21 #9F5A1D
triadic
#9F1D21 #219F1D #1D219F
tetradic
#9F1D21 #629F1D #1D9F9B #5A1D9F
square
#9F1D21 #629F1D #1D9F9B #5A1D9F
split-complementary
#9F1D21 #1D9F5A #1D629F
monochromatic
#370A0C #6B1416 #9F1D21 #D3262C #E0565A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1D21#FFFFFF#000000##FFFFFF
##9F1D211.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)
#47401F
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#B00020
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1d21;
/* rgb */ color: rgb(159, 29, 33);
/* oklch */ color: oklch(45.7% 0.165 25.5);
Tailwind
colors: {
  custom: {
    50: '#c4675d',
    500: '#9f1d21',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d21;
$custom-light: #c4675d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d21",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 33
  },
  "hsl": {
    "h": 358.154,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45729,
    "c": 0.16507,
    "h": 25.5
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#9F1D21
secondary
#54C4C0
accent
#ECE73C
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150704
muted
#837A79

Preview Lab

Preview with #9F1D21

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

Preview Lab → · Contrast checker → · Palette generator →

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