#8E2A42#8E2A42

#8E2A42 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.5% C 0.135 H 10.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8E2A42
RGBrgb(142, 42, 66)
HSLhsl(346, 54%, 36%)
HSVhsv(346, 70%, 56%)
CMYKcmyk(0%, 70.4%, 53.5%, 44.3%)
CIE-LABlab(33.57, 43.75, 9.45)
CIE-LCHlch(33.57, 44.76, 12.19°)
OKLaboklab(44.45% 0.1327 0.0241)
OKLCHoklch(44.45% 0.135 10.3)
XYZxyz(12.9678, 7.8018, 5.9762)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A42 #2A8E76
analogous
#8E2A74 #8E2A42 #8E442A
triadic
#8E2A42 #428E2A #2A428E
tetradic
#8E2A42 #748E2A #2A8E76 #442A8E
square
#8E2A42 #748E2A #2A8E76 #442A8E
split-complementary
#8E2A42 #2A8E44 #2A748E
monochromatic
#300E16 #5F1C2C #8E2A42 #BD3858 #D1627C

Accessibility & contrast

On white

8.20
#8E2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E2A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A42
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A42#FFFFFF#000000##FFFFFF
##8E2A421.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424242
Deuteranopia (green-blind)
#5C5640
Tritanopia (blue-blind)
#9B1734
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e2a42;
/* rgb */ color: rgb(142, 42, 66);
/* oklch */ color: oklch(44.5% 0.135 10.3);
Tailwind
colors: {
  custom: {
    50: '#b46b76',
    500: '#8e2a42',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a42;
$custom-light: #b46b76;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a42",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 345.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4445,
    "c": 0.13485,
    "h": 10.3
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#8E2A42
secondary
#5DB6A1
accent
#DEBA4A
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8E2A42

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

Preview Lab → · Contrast checker → · Palette generator →

#8E2A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva