#9F1A2E#9F1A2E

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

Color values

HEX#9F1A2E
RGBrgb(159, 26, 46)
HSLhsl(351, 72%, 36%)
HSVhsv(351, 84%, 62%)
CMYKcmyk(0%, 83.6%, 71.1%, 37.6%)
CIE-LABlab(34.62, 52.99, 24.36)
CIE-LCHlch(34.62, 58.32, 24.69°)
OKLaboklab(45.71% 0.1563 0.0564)
OKLCHoklch(45.71% 0.166 19.9)
XYZxyz(15.1624, 8.3094, 3.3898)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A2E #1A9F8B
analogous
#9F1A71 #9F1A2E #9F481A
triadic
#9F1A2E #2E9F1A #1A2E9F
tetradic
#9F1A2E #719F1A #1A9F8B #481A9F
square
#9F1A2E #719F1A #1A9F8B #481A9F
split-complementary
#9F1A2E #1A9F48 #1A719F
monochromatic
#360910 #6A111F #9F1A2E #D4233D #E35167

Accessibility & contrast

On white

7.89
#9F1A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9F1A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A2E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A2E#FFFFFF#000000##FFFFFF
##9F1A2E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44402E
Deuteranopia (green-blind)
#655B2A
Tritanopia (blue-blind)
#AF0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9f1a2e;
/* rgb */ color: rgb(159, 26, 46);
/* oklch */ color: oklch(45.7% 0.166 19.9);
Tailwind
colors: {
  custom: {
    50: '#c46666',
    500: '#9f1a2e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a2e;
$custom-light: #c46666;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a2e",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 350.977,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45706,
    "c": 0.16613,
    "h": 19.9
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#9F1A2E
secondary
#50C5B3
accent
#EFD339
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9F1A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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