#9F1B38#9F1B38

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

Color values

HEX#9F1B38
RGBrgb(159, 27, 56)
HSLhsl(347, 71%, 36%)
HSVhsv(347, 83%, 62%)
CMYKcmyk(0%, 83%, 64.8%, 37.6%)
CIE-LABlab(34.89, 53.27, 18.29)
CIE-LCHlch(34.89, 56.32, 18.95°)
OKLaboklab(45.96% 0.1594 0.0441)
OKLCHoklch(45.96% 0.165 15.5)
XYZxyz(15.4055, 8.4427, 4.5590)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B38 #1B9F82
analogous
#9F1B7A #9F1B38 #9F401B
triadic
#9F1B38 #389F1B #1B389F
tetradic
#9F1B38 #7A9F1B #1B9F82 #401B9F
square
#9F1B38 #7A9F1B #1B9F82 #401B9F
split-complementary
#9F1B38 #1B9F40 #1B7A9F
monochromatic
#360913 #6B1226 #9F1B38 #D3244A #E25372

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1B38#FFFFFF#000000##FFFFFF
##9F1B381.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)
#434138
Deuteranopia (green-blind)
#645C34
Tritanopia (blue-blind)
#AF0028
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b38;
/* rgb */ color: rgb(159, 27, 56);
/* oklch */ color: oklch(46.0% 0.165 15.5);
Tailwind
colors: {
  custom: {
    50: '#c3676e',
    500: '#9f1b38',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b38;
$custom-light: #c3676e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b38",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 56
  },
  "hsl": {
    "h": 346.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45963,
    "c": 0.16538,
    "h": 15.5
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#9F1B38
secondary
#51C5AB
accent
#EEC63A
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9F1B38

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

Preview Lab → · Contrast checker → · Palette generator →

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