#8E2E52#8E2E52

#8E2E52 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.134 H 0.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8E2E52
RGBrgb(142, 46, 82)
HSLhsl(338, 51%, 37%)
HSVhsv(338, 68%, 56%)
CMYKcmyk(0%, 67.6%, 42.3%, 44.3%)
CIE-LABlab(34.63, 43.64, 0.61)
CIE-LCHlch(34.63, 43.64, 0.80°)
OKLaboklab(45.39% 0.1335 0.0021)
OKLCHoklch(45.39% 0.134 0.9)
XYZxyz(13.6562, 8.3156, 8.8669)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E52 #2E8E6A
analogous
#8E2E82 #8E2E52 #8E3A2E
triadic
#8E2E52 #528E2E #2E528E
tetradic
#8E2E52 #828E2E #2E8E6A #3A2E8E
square
#8E2E52 #828E2E #2E8E6A #3A2E8E
split-complementary
#8E2E52 #2E8E3A #2E828E
monochromatic
#32101D #601F37 #8E2E52 #BC3D6D #CE688E

Accessibility & contrast

On white

7.89
#8E2E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E2E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E52
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E52#FFFFFF#000000##FFFFFF
##8E2E521.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)
#414653
Deuteranopia (green-blind)
#5B5850
Tritanopia (blue-blind)
#9A233C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e2e52;
/* rgb */ color: rgb(142, 46, 82);
/* oklch */ color: oklch(45.4% 0.134 0.9);
Tailwind
colors: {
  custom: {
    50: '#b36d82',
    500: '#8e2e52',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e52;
$custom-light: #b36d82;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e52",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 337.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45387,
    "c": 0.13351,
    "h": 0.9
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#8E2E52
secondary
#63B596
accent
#DBA64D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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