#9F1B2E#9F1B2E

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

Color values

HEX#9F1B2E
RGBrgb(159, 27, 46)
HSLhsl(351, 71%, 36%)
HSVhsv(351, 83%, 62%)
CMYKcmyk(0%, 83%, 71.1%, 37.6%)
CIE-LABlab(34.71, 52.73, 24.47)
CIE-LCHlch(34.71, 58.13, 24.89°)
OKLaboklab(45.77% 0.1554 0.0567)
OKLCHoklch(45.77% 0.165 20)
XYZxyz(15.1849, 8.3545, 3.3973)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B2E #1B9F8C
analogous
#9F1B70 #9F1B2E #9F4A1B
triadic
#9F1B2E #2E9F1B #1B2E9F
tetradic
#9F1B2E #709F1B #1B9F8C #4A1B9F
square
#9F1B2E #709F1B #1B9F8C #4A1B9F
split-complementary
#9F1B2E #1B9F4A #1B709F
monochromatic
#360910 #6B121F #9F1B2E #D3243D #E25367

Accessibility & contrast

On white

7.86
#9F1B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B2E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B2E#FFFFFF#000000##FFFFFF
##9F1B2E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402E
Deuteranopia (green-blind)
#655B2A
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1b2e;
/* rgb */ color: rgb(159, 27, 46);
/* oklch */ color: oklch(45.8% 0.165 20.0);
Tailwind
colors: {
  custom: {
    50: '#c46766',
    500: '#9f1b2e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b2e;
$custom-light: #c46766;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b2e",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 351.364,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45774,
    "c": 0.16543,
    "h": 20
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#9F1B2E
secondary
#51C5B4
accent
#EED43A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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