#9F1C28#9F1C28

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

Color values

HEX#9F1C28
RGBrgb(159, 28, 40)
HSLhsl(355, 70%, 37%)
HSVhsv(355, 82%, 62%)
CMYKcmyk(0%, 82.4%, 74.8%, 37.6%)
CIE-LABlab(34.72, 52.19, 28.23)
CIE-LCHlch(34.72, 59.33, 28.41°)
OKLaboklab(45.75% 0.1523 0.0638)
OKLCHoklch(45.75% 0.165 22.7)
XYZxyz(15.0981, 8.3571, 2.8252)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C28 #1C9F93
analogous
#9F1C6A #9F1C28 #9F521C
triadic
#9F1C28 #289F1C #1C289F
tetradic
#9F1C28 #6A9F1C #1C9F93 #521C9F
square
#9F1C28 #6A9F1C #1C9F93 #521C9F
split-complementary
#9F1C28 #1C9F52 #1C6A9F
monochromatic
#370A0E #6B131B #9F1C28 #D32535 #E15461

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9f1c28;
/* rgb */ color: rgb(159, 28, 40);
/* oklch */ color: oklch(45.7% 0.165 22.7);
Tailwind
colors: {
  custom: {
    50: '#c46762',
    500: '#9f1c28',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c28;
$custom-light: #c46762;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c28",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 354.504,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45749,
    "c": 0.1651,
    "h": 22.7
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#9F1C28
secondary
#53C4BA
accent
#EDDD3B
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1C28

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

Preview Lab → · Contrast checker → · Palette generator →

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