#9F1D28#9F1D28

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

Color values

HEX#9F1D28
RGBrgb(159, 29, 40)
HSLhsl(355, 69%, 37%)
HSVhsv(355, 82%, 62%)
CMYKcmyk(0%, 81.8%, 74.8%, 37.6%)
CIE-LABlab(34.81, 51.91, 28.34)
CIE-LCHlch(34.81, 59.14, 28.63°)
OKLaboklab(45.82% 0.1514 0.064)
OKLCHoklch(45.82% 0.164 22.9)
XYZxyz(15.1222, 8.4053, 2.8332)
Luminance0.0840 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D28 #1D9F94
analogous
#9F1D69 #9F1D28 #9F531D
triadic
#9F1D28 #289F1D #1D289F
tetradic
#9F1D28 #699F1D #1D9F94 #531D9F
square
#9F1D28 #699F1D #1D9F94 #531D9F
split-complementary
#9F1D28 #1D9F53 #1D699F
monochromatic
#370A0E #6B141B #9F1D28 #D32635 #E05662

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1D28#FFFFFF#000000##FFFFFF
##9F1D281.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)
#464027
Deuteranopia (green-blind)
#665C23
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1d28;
/* rgb */ color: rgb(159, 29, 40);
/* oklch */ color: oklch(45.8% 0.164 22.9);
Tailwind
colors: {
  custom: {
    50: '#c46762',
    500: '#9f1d28',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d28;
$custom-light: #c46762;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d28",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 40
  },
  "hsl": {
    "h": 354.923,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45821,
    "c": 0.16439,
    "h": 22.9
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

primary
#9F1D28
secondary
#54C4BA
accent
#ECDD3C
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1D28

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

Preview Lab → · Contrast checker → · Palette generator →

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