#9F1C31#9F1C31

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

Color values

HEX#9F1C31
RGBrgb(159, 28, 49)
HSLhsl(350, 70%, 37%)
HSVhsv(350, 82%, 62%)
CMYKcmyk(0%, 82.4%, 69.2%, 37.6%)
CIE-LABlab(34.85, 52.61, 22.74)
CIE-LCHlch(34.85, 57.31, 23.37°)
OKLaboklab(45.9% 0.1557 0.0533)
OKLCHoklch(45.9% 0.165 18.9)
XYZxyz(15.2694, 8.4256, 3.7274)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C31 #1C9F8A
analogous
#9F1C73 #9F1C31 #9F491C
triadic
#9F1C31 #319F1C #1C319F
tetradic
#9F1C31 #739F1C #1C9F8A #491C9F
square
#9F1C31 #739F1C #1C9F8A #491C9F
split-complementary
#9F1C31 #1C9F49 #1C739F
monochromatic
#370A11 #6B1321 #9F1C31 #D32541 #E1546B

Accessibility & contrast

On white

7.82
#9F1C31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1C31
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C31#FFFFFF#000000##FFFFFF
##9F1C311.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454031
Deuteranopia (green-blind)
#655C2D
Tritanopia (blue-blind)
#AF0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1c31;
/* rgb */ color: rgb(159, 28, 49);
/* oklch */ color: oklch(45.9% 0.165 18.9);
Tailwind
colors: {
  custom: {
    50: '#c36768',
    500: '#9f1c31',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c31;
$custom-light: #c36768;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c31",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 49
  },
  "hsl": {
    "h": 350.382,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45896,
    "c": 0.16461,
    "h": 18.9
  },
  "luminance": 0.08423
}

Semantic roles & 50–950 ramp

primary
#9F1C31
secondary
#53C4B2
accent
#EDD03B
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1C31

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

Preview Lab → · Contrast checker → · Palette generator →

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