#9F1B2C#9F1B2C

#9F1B2C is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.166 H 20.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9F1B2C
RGBrgb(159, 27, 44)
HSLhsl(352, 71%, 36%)
HSVhsv(352, 83%, 62%)
CMYKcmyk(0%, 83%, 72.3%, 37.6%)
CIE-LABlab(34.68, 52.63, 25.69)
CIE-LCHlch(34.68, 58.57, 26.02°)
OKLaboklab(45.74% 0.1547 0.059)
OKLCHoklch(45.74% 0.166 20.9)
XYZxyz(15.1464, 8.3391, 3.1945)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B2C #1B9F8E
analogous
#9F1B6E #9F1B2C #9F4C1B
triadic
#9F1B2C #2C9F1B #1B2C9F
tetradic
#9F1B2C #6E9F1B #1B9F8E #4C1B9F
square
#9F1B2C #6E9F1B #1B9F8E #4C1B9F
split-complementary
#9F1B2C #1B9F4C #1B6E9F
monochromatic
#36090F #6B121E #9F1B2C #D3243A #E25365

Accessibility & contrast

On white

7.87
#9F1B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9F1B2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B2C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B2C#FFFFFF#000000##FFFFFF
##9F1B2C1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402B
Deuteranopia (green-blind)
#655B28
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b2c;
/* rgb */ color: rgb(159, 27, 44);
/* oklch */ color: oklch(45.7% 0.166 20.9);
Tailwind
colors: {
  custom: {
    50: '#c46765',
    500: '#9f1b2c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b2c;
$custom-light: #c46765;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b2c",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 44
  },
  "hsl": {
    "h": 352.273,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45741,
    "c": 0.16553,
    "h": 20.9
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#9F1B2C
secondary
#51C5B6
accent
#EED73A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9F1B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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