#9E2A2A#9E2A2A

#9E2A2A is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.8% C 0.152 H 25.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9E2A2A
RGBrgb(158, 42, 42)
HSLhsl(0, 58%, 39%)
HSVhsv(0, 73%, 62%)
CMYKcmyk(0%, 73.4%, 73.4%, 38%)
CIE-LABlab(36.17, 47.42, 28.63)
CIE-LCHlch(36.17, 55.39, 31.12°)
OKLaboklab(46.8% 0.1378 0.0651)
OKLCHoklch(46.8% 0.152 25.3)
XYZxyz(15.3482, 9.0945, 3.1373)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A2A #2A9E9E
analogous
#9E2A64 #9E2A2A #9E642A
triadic
#9E2A2A #2A9E2A #2A2A9E
tetradic
#9E2A2A #649E2A #2A9E9E #642A9E
square
#9E2A2A #649E2A #2A9E9E #642A9E
split-complementary
#9E2A2A #2A9E64 #2A649E
monochromatic
#3D1010 #6E1D1D #9E2A2A #CB3A3A #D86B6B

Accessibility & contrast

On white

7.45
#9E2A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9E2A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2A2A
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A2A#FFFFFF#000000##FFFFFF
##9E2A2A1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4529
Deuteranopia (green-blind)
#695E26
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2a2a;
/* rgb */ color: rgb(158, 42, 42);
/* oklch */ color: oklch(46.8% 0.152 25.3);
Tailwind
colors: {
  custom: {
    50: '#c26c64',
    500: '#9e2a2a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a2a;
$custom-light: #c26c64;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a2a",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 0,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.468,
    "c": 0.15238,
    "h": 25.3
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#9E2A2A
secondary
#66BEBE
accent
#E1E147
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9E2A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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