#9F1B2D#9F1B2D

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

Color values

HEX#9F1B2D
RGBrgb(159, 27, 45)
HSLhsl(352, 71%, 36%)
HSVhsv(352, 83%, 62%)
CMYKcmyk(0%, 83%, 71.7%, 37.6%)
CIE-LABlab(34.69, 52.68, 25.08)
CIE-LCHlch(34.69, 58.35, 25.46°)
OKLaboklab(45.76% 0.155 0.0579)
OKLCHoklch(45.76% 0.165 20.5)
XYZxyz(15.1654, 8.3467, 3.2947)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B2D #1B9F8D
analogous
#9F1B6F #9F1B2D #9F4B1B
triadic
#9F1B2D #2D9F1B #1B2D9F
tetradic
#9F1B2D #6F9F1B #1B9F8D #4B1B9F
square
#9F1B2D #6F9F1B #1B9F8D #4B1B9F
split-complementary
#9F1B2D #1B9F4B #1B6F9F
monochromatic
#36090F #6B121E #9F1B2D #D3243C #E25366

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1B2D#FFFFFF#000000##FFFFFF
##9F1B2D1.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)
#45402D
Deuteranopia (green-blind)
#655B29
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b2d;
/* rgb */ color: rgb(159, 27, 45);
/* oklch */ color: oklch(45.8% 0.165 20.5);
Tailwind
colors: {
  custom: {
    50: '#c46765',
    500: '#9f1b2d',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b2d;
$custom-light: #c46765;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b2d",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 351.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45757,
    "c": 0.16548,
    "h": 20.5
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#9F1B2D
secondary
#51C5B5
accent
#EED53A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9F1B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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