#9F1D29#9F1D29

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

Color values

HEX#9F1D29
RGBrgb(159, 29, 41)
HSLhsl(354, 69%, 37%)
HSVhsv(354, 82%, 62%)
CMYKcmyk(0%, 81.8%, 74.2%, 37.6%)
CIE-LABlab(34.83, 51.95, 27.74)
CIE-LCHlch(34.83, 58.90, 28.10°)
OKLaboklab(45.84% 0.1518 0.0629)
OKLCHoklch(45.84% 0.164 22.5)
XYZxyz(15.1395, 8.4122, 2.9240)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D29 #1D9F93
analogous
#9F1D6A #9F1D29 #9F521D
triadic
#9F1D29 #299F1D #1D299F
tetradic
#9F1D29 #6A9F1D #1D9F93 #521D9F
square
#9F1D29 #6A9F1D #1D9F93 #521D9F
split-complementary
#9F1D29 #1D9F52 #1D6A9F
monochromatic
#370A0E #6B141C #9F1D29 #D32636 #E05663

Accessibility & contrast

On white

7.83
#9F1D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9F1D29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D29
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D29#FFFFFF#000000##FFFFFF
##9F1D291.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1d29;
/* rgb */ color: rgb(159, 29, 41);
/* oklch */ color: oklch(45.8% 0.164 22.5);
Tailwind
colors: {
  custom: {
    50: '#c46762',
    500: '#9f1d29',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d29;
$custom-light: #c46762;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d29",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 41
  },
  "hsl": {
    "h": 354.462,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45836,
    "c": 0.16431,
    "h": 22.5
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#9F1D29
secondary
#54C4B9
accent
#ECDC3C
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1D29

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

Preview Lab → · Contrast checker → · Palette generator →

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