#9F1B31#9F1B31

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

Color values

HEX#9F1B31
RGBrgb(159, 27, 49)
HSLhsl(350, 71%, 36%)
HSVhsv(350, 83%, 62%)
CMYKcmyk(0%, 83%, 69.2%, 37.6%)
CIE-LABlab(34.76, 52.88, 22.62)
CIE-LCHlch(34.76, 57.51, 23.16°)
OKLaboklab(45.83% 0.1566 0.053)
OKLCHoklch(45.83% 0.165 18.7)
XYZxyz(15.2461, 8.3789, 3.7197)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B31 #1B9F89
analogous
#9F1B73 #9F1B31 #9F471B
triadic
#9F1B31 #319F1B #1B319F
tetradic
#9F1B31 #739F1B #1B9F89 #471B9F
square
#9F1B31 #739F1B #1B9F89 #471B9F
split-complementary
#9F1B31 #1B9F47 #1B739F
monochromatic
#360911 #6B1221 #9F1B31 #D32441 #E2536B

Accessibility & contrast

On white

7.85
#9F1B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B31
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B31#FFFFFF#000000##FFFFFF
##9F1B311.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1b31;
/* rgb */ color: rgb(159, 27, 49);
/* oklch */ color: oklch(45.8% 0.165 18.7);
Tailwind
colors: {
  custom: {
    50: '#c36768',
    500: '#9f1b31',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b31;
$custom-light: #c36768;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b31",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 49
  },
  "hsl": {
    "h": 350,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45826,
    "c": 0.16534,
    "h": 18.7
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#9F1B31
secondary
#51C5B1
accent
#EED03A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1B31

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

Preview Lab → · Contrast checker → · Palette generator →

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