#8E2052#8E2052

#8E2052 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.151 H 358.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8E2052
RGBrgb(142, 32, 82)
HSLhsl(333, 63%, 34%)
HSVhsv(333, 77%, 56%)
CMYKcmyk(0%, 77.5%, 42.3%, 44.3%)
CIE-LABlab(32.69, 49.04, -2.24)
CIE-LCHlch(32.69, 49.09, 357.38°)
OKLaboklab(43.95% 0.1507 -0.0053)
OKLCHoklch(43.95% 0.151 358)
XYZxyz(13.1958, 7.3947, 8.7134)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2052 #208E5C
analogous
#8E2089 #8E2052 #8E2520
triadic
#8E2052 #528E20 #20528E
tetradic
#8E2052 #898E20 #208E5C #25208E
square
#8E2052 #898E20 #208E5C #25208E
split-complementary
#8E2052 #208E25 #20898E
monochromatic
#2A0918 #5C1535 #8E2052 #C02B6F #D8518E

Accessibility & contrast

On white

8.47
#8E2052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8E2052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2052
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2052#FFFFFF#000000##FFFFFF
##8E20521.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#56544F
Tritanopia (blue-blind)
#9A0F36
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e2052;
/* rgb */ color: rgb(142, 32, 82);
/* oklch */ color: oklch(44.0% 0.151 358.0);
Tailwind
colors: {
  custom: {
    50: '#b46782',
    500: '#8e2052',
    950: '#000000',
  },
}
SCSS
$custom: #8e2052;
$custom-light: #b46782;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2052",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 332.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43954,
    "c": 0.15074,
    "h": 358
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#8E2052
secondary
#4FBB8A
accent
#E69B42
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E2052

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

Preview Lab → · Contrast checker → · Palette generator →

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