#8E2152#8E2152

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

Color values

HEX#8E2152
RGBrgb(142, 33, 82)
HSLhsl(333, 62%, 34%)
HSVhsv(333, 77%, 56%)
CMYKcmyk(0%, 76.8%, 42.3%, 44.3%)
CIE-LABlab(32.81, 48.70, -2.06)
CIE-LCHlch(32.81, 48.74, 357.57°)
OKLaboklab(44.04% 0.1496 -0.0048)
OKLCHoklch(44.04% 0.15 358.2)
XYZxyz(13.2231, 7.4494, 8.7226)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2152 #218E5D
analogous
#8E2189 #8E2152 #8E2721
triadic
#8E2152 #528E21 #21528E
tetradic
#8E2152 #898E21 #218E5D #27218E
square
#8E2152 #898E21 #218E5D #27218E
split-complementary
#8E2152 #218E27 #21898E
monochromatic
#2B0A19 #5C1535 #8E2152 #C02D6F #D7528E

Accessibility & contrast

On white

8.44
#8E2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2152
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2152#FFFFFF#000000##FFFFFF
##8E21521.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#565550
Tritanopia (blue-blind)
#9A1136
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e2152;
/* rgb */ color: rgb(142, 33, 82);
/* oklch */ color: oklch(44.0% 0.150 358.2);
Tailwind
colors: {
  custom: {
    50: '#b46782',
    500: '#8e2152',
    950: '#000000',
  },
}
SCSS
$custom: #8e2152;
$custom-light: #b46782;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2152",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 333.028,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.14965,
    "h": 358.2
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#8E2152
secondary
#50BA8B
accent
#E59C42
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2152

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

Preview Lab → · Contrast checker → · Palette generator →

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