#9F1E2A#9F1E2A

#9F1E2A is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.163 H 22.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9F1E2A
RGBrgb(159, 30, 42)
HSLhsl(354, 68%, 37%)
HSVhsv(354, 81%, 62%)
CMYKcmyk(0%, 81.1%, 73.6%, 37.6%)
CIE-LABlab(34.94, 51.72, 27.25)
CIE-LCHlch(34.94, 58.46, 27.79°)
OKLaboklab(45.93% 0.1513 0.0621)
OKLCHoklch(45.93% 0.163 22.3)
XYZxyz(15.1820, 8.4690, 3.0253)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E2A #1E9F93
analogous
#9F1E6A #9F1E2A #9F531E
triadic
#9F1E2A #2A9F1E #1E2A9F
tetradic
#9F1E2A #6A9F1E #1E9F93 #531E9F
square
#9F1E2A #6A9F1E #1E9F93 #531E9F
split-complementary
#9F1E2A #1E9F53 #1E6A9F
monochromatic
#380B0F #6C141C #9F1E2A #D22838 #DF5865

Accessibility & contrast

On white

7.80
#9F1E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1E2A
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E2A#FFFFFF#000000##FFFFFF
##9F1E2A1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464129
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f1e2a;
/* rgb */ color: rgb(159, 30, 42);
/* oklch */ color: oklch(45.9% 0.163 22.3);
Tailwind
colors: {
  custom: {
    50: '#c46863',
    500: '#9f1e2a',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e2a;
$custom-light: #c46863;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e2a",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 354.419,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45925,
    "c": 0.16349,
    "h": 22.3
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#9F1E2A
secondary
#56C3B9
accent
#EBDB3D
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9F1E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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