#9F1B3C#9F1B3C

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

Color values

HEX#9F1B3C
RGBrgb(159, 27, 60)
HSLhsl(345, 71%, 36%)
HSVhsv(345, 83%, 62%)
CMYKcmyk(0%, 83%, 62.3%, 37.6%)
CIE-LABlab(34.97, 53.52, 15.81)
CIE-LCHlch(34.97, 55.80, 16.46°)
OKLaboklab(46.05% 0.161 0.0387)
OKLCHoklch(46.05% 0.166 13.5)
XYZxyz(15.5073, 8.4834, 5.0950)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B3C #1B9F7E
analogous
#9F1B7E #9F1B3C #9F3C1B
triadic
#9F1B3C #3C9F1B #1B3C9F
tetradic
#9F1B3C #7E9F1B #1B9F7E #3C1B9F
square
#9F1B3C #7E9F1B #1B9F7E #3C1B9F
split-complementary
#9F1B3C #1B9F3C #1B7E9F
monochromatic
#360915 #6B1228 #9F1B3C #D32450 #E25376

Accessibility & contrast

On white

7.79
#9F1B3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9F1B3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B3C
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B3C#FFFFFF#000000##FFFFFF
##9F1B3C1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413C
Deuteranopia (green-blind)
#645C38
Tritanopia (blue-blind)
#AF002A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b3c;
/* rgb */ color: rgb(159, 27, 60);
/* oklch */ color: oklch(46.0% 0.166 13.5);
Tailwind
colors: {
  custom: {
    50: '#c36771',
    500: '#9f1b3c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b3c;
$custom-light: #c36771;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b3c",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 60
  },
  "hsl": {
    "h": 345,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46049,
    "c": 0.16559,
    "h": 13.5
  },
  "luminance": 0.08481
}

Semantic roles & 50–950 ramp

primary
#9F1B3C
secondary
#51C5A8
accent
#EEC13A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F1B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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