#9F1B3A#9F1B3A

#9F1B3A is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.165 H 14.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9F1B3A
RGBrgb(159, 27, 58)
HSLhsl(346, 71%, 36%)
HSVhsv(346, 83%, 62%)
CMYKcmyk(0%, 83%, 63.5%, 37.6%)
CIE-LABlab(34.93, 53.39, 17.05)
CIE-LCHlch(34.93, 56.05, 17.71°)
OKLaboklab(46.01% 0.1602 0.0414)
OKLCHoklch(46.01% 0.165 14.5)
XYZxyz(15.4554, 8.4627, 4.8218)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B3A #1B9F80
analogous
#9F1B7C #9F1B3A #9F3E1B
triadic
#9F1B3A #3A9F1B #1B3A9F
tetradic
#9F1B3A #7C9F1B #1B9F80 #3E1B9F
square
#9F1B3A #7C9F1B #1B9F80 #3E1B9F
split-complementary
#9F1B3A #1B9F3E #1B7C9F
monochromatic
#360914 #6B1227 #9F1B3A #D3244D #E25374

Accessibility & contrast

On white

7.80
#9F1B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F1B3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B3A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B3A#FFFFFF#000000##FFFFFF
##9F1B3A1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43413A
Deuteranopia (green-blind)
#645C36
Tritanopia (blue-blind)
#AF0029
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b3a;
/* rgb */ color: rgb(159, 27, 58);
/* oklch */ color: oklch(46.0% 0.165 14.5);
Tailwind
colors: {
  custom: {
    50: '#c3676f',
    500: '#9f1b3a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b3a;
$custom-light: #c3676f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b3a",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 58
  },
  "hsl": {
    "h": 345.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46005,
    "c": 0.16546,
    "h": 14.5
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#9F1B3A
secondary
#51C5A9
accent
#EEC43A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F1B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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