#8E2F40#8E2F40

#8E2F40 is a dark, vivid red. Relative luminance 0.082; OKLCH L 45.0% C 0.128 H 13.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8E2F40
RGBrgb(142, 47, 64)
HSLhsl(349, 50%, 37%)
HSVhsv(349, 67%, 56%)
CMYKcmyk(0%, 66.9%, 54.9%, 44.3%)
CIE-LABlab(34.31, 41.43, 11.77)
CIE-LCHlch(34.31, 43.07, 15.86°)
OKLaboklab(44.99% 0.125 0.0296)
OKLCHoklch(44.99% 0.128 13.3)
XYZxyz(13.0984, 8.1557, 5.7340)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F40 #2F8E7D
analogous
#8E2F70 #8E2F40 #8E4D2F
triadic
#8E2F40 #408E2F #2F408E
tetradic
#8E2F40 #708E2F #2F8E7D #4D2F8E
square
#8E2F40 #708E2F #2F8E7D #4D2F8E
split-complementary
#8E2F40 #2F8E4D #2F708E
monochromatic
#321117 #60202B #8E2F40 #BC3E55 #CE6A7C

Accessibility & contrast

On white

7.98
#8E2F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E2F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F40
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F40#FFFFFF#000000##FFFFFF
##8E2F401.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464440
Deuteranopia (green-blind)
#5E583E
Tritanopia (blue-blind)
#9B1E36
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2f40;
/* rgb */ color: rgb(142, 47, 64);
/* oklch */ color: oklch(45.0% 0.128 13.3);
Tailwind
colors: {
  custom: {
    50: '#b46d74',
    500: '#8e2f40',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f40;
$custom-light: #b46d74;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f40",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 64
  },
  "hsl": {
    "h": 349.263,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44985,
    "c": 0.12847,
    "h": 13.3
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#8E2F40
secondary
#64B5A6
accent
#DAC14E
background
#FBF6F7
surface
#F6ECED
border
#D0C7C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #8E2F40

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

Preview Lab → · Contrast checker → · Palette generator →

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