#9E1A3A#9E1A3A

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

Color values

HEX#9E1A3A
RGBrgb(158, 26, 58)
HSLhsl(345, 72%, 36%)
HSVhsv(345, 84%, 62%)
CMYKcmyk(0%, 83.5%, 63.3%, 38%)
CIE-LABlab(34.63, 53.37, 16.62)
CIE-LCHlch(34.63, 55.89, 17.30°)
OKLaboklab(45.75% 0.1603 0.0404)
OKLCHoklch(45.75% 0.165 14.2)
XYZxyz(15.2353, 8.3157, 4.8050)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A3A #1A9E7E
analogous
#9E1A7C #9E1A3A #9E3C1A
triadic
#9E1A3A #3A9E1A #1A3A9E
tetradic
#9E1A3A #7C9E1A #1A9E7E #3C1A9E
square
#9E1A3A #7C9E1A #1A9E7E #3C1A9E
split-complementary
#9E1A3A #1A9E3C #1A7C9E
monochromatic
#350913 #691127 #9E1A3A #D3234D #E25074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1A3A#FFFFFF#000000##FFFFFF
##9E1A3A1.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)
#42403A
Deuteranopia (green-blind)
#635B36
Tritanopia (blue-blind)
#AE0028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1a3a;
/* rgb */ color: rgb(158, 26, 58);
/* oklch */ color: oklch(45.8% 0.165 14.2);
Tailwind
colors: {
  custom: {
    50: '#c2666f',
    500: '#9e1a3a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a3a;
$custom-light: #c2666f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a3a",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 345.455,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.16529,
    "h": 14.2
  },
  "luminance": 0.08313
}

Semantic roles & 50–950 ramp

primary
#9E1A3A
secondary
#4FC5A8
accent
#EEC339
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E1A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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