#9F1B39#9F1B39

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

Color values

HEX#9F1B39
RGBrgb(159, 27, 57)
HSLhsl(346, 71%, 36%)
HSVhsv(346, 83%, 62%)
CMYKcmyk(0%, 83%, 64.2%, 37.6%)
CIE-LABlab(34.91, 53.33, 17.67)
CIE-LCHlch(34.91, 56.18, 18.33°)
OKLaboklab(45.98% 0.1598 0.0427)
OKLCHoklch(45.98% 0.165 15)
XYZxyz(15.4302, 8.4526, 4.6891)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B39 #1B9F81
analogous
#9F1B7B #9F1B39 #9F3F1B
triadic
#9F1B39 #399F1B #1B399F
tetradic
#9F1B39 #7B9F1B #1B9F81 #3F1B9F
square
#9F1B39 #7B9F1B #1B9F81 #3F1B9F
split-complementary
#9F1B39 #1B9F3F #1B7B9F
monochromatic
#360913 #6B1226 #9F1B39 #D3244C #E25373

Accessibility & contrast

On white

7.81
#9F1B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B39
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B39#FFFFFF#000000##FFFFFF
##9F1B391.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434139
Deuteranopia (green-blind)
#645C35
Tritanopia (blue-blind)
#AF0028
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b39;
/* rgb */ color: rgb(159, 27, 57);
/* oklch */ color: oklch(46.0% 0.165 15.0);
Tailwind
colors: {
  custom: {
    50: '#c3676f',
    500: '#9f1b39',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b39;
$custom-light: #c3676f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b39",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 57
  },
  "hsl": {
    "h": 346.364,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45984,
    "c": 0.16541,
    "h": 15
  },
  "luminance": 0.0845
}

Semantic roles & 50–950 ramp

primary
#9F1B39
secondary
#51C5AA
accent
#EEC53A
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F1B39

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

Preview Lab → · Contrast checker → · Palette generator →

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