#9E2E2A#9E2E2A

#9E2E2A is a mid, vivid red. Relative luminance 0.094; OKLCH L 47.2% C 0.149 H 26.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#9E2E2A
RGBrgb(158, 46, 42)
HSLhsl(2, 58%, 39%)
HSVhsv(2, 73%, 62%)
CMYKcmyk(0%, 70.9%, 73.4%, 38%)
CIE-LABlab(36.73, 45.87, 29.28)
CIE-LCHlch(36.73, 54.42, 32.55°)
OKLaboklab(47.22% 0.1329 0.0665)
OKLCHoklch(47.22% 0.149 26.6)
XYZxyz(15.4972, 9.3926, 3.1870)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E2A #2A9A9E
analogous
#9E2A60 #9E2E2A #9E682A
triadic
#9E2E2A #2A9E2E #2E2A9E
tetradic
#9E2E2A #609E2A #2A9A9E #682A9E
square
#9E2E2A #609E2A #2A9A9E #682A9E
split-complementary
#9E2E2A #2A9E68 #2A609E
monochromatic
#3D1210 #6E201D #9E2E2A #CB3F3A #D86F6B

Accessibility & contrast

On white

7.30
#9E2E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9E2E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2E2A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E2A#FFFFFF#000000##FFFFFF
##9E2E2A1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4729
Deuteranopia (green-blind)
#6A5F26
Tritanopia (blue-blind)
#AE072E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e2e2a;
/* rgb */ color: rgb(158, 46, 42);
/* oklch */ color: oklch(47.2% 0.149 26.6);
Tailwind
colors: {
  custom: {
    50: '#c26e64',
    500: '#9e2e2a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e2a;
$custom-light: #c26e64;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e2a",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 2.069,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47221,
    "c": 0.14859,
    "h": 26.6
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#9E2E2A
secondary
#66BBBE
accent
#DCE147
background
#FCF6F5
surface
#F9ECEA
border
#D2C7C6
text
#140805
muted
#827B79

Preview Lab

Preview with #9E2E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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