#8E2252#8E2252

#8E2252 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.149 H 358.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8E2252
RGBrgb(142, 34, 82)
HSLhsl(333, 61%, 35%)
HSVhsv(333, 76%, 56%)
CMYKcmyk(0%, 76.1%, 42.3%, 44.3%)
CIE-LABlab(32.93, 48.35, -1.88)
CIE-LCHlch(32.93, 48.39, 357.77°)
OKLaboklab(44.13% 0.1485 -0.0043)
OKLCHoklch(44.13% 0.149 358.3)
XYZxyz(13.2513, 7.5057, 8.7319)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2252 #228E5E
analogous
#8E2288 #8E2252 #8E2822
triadic
#8E2252 #528E22 #22528E
tetradic
#8E2252 #888E22 #228E5E #28228E
square
#8E2252 #888E22 #228E5E #28228E
split-complementary
#8E2252 #228E28 #22888E
monochromatic
#2B0A19 #5D1635 #8E2252 #BF2E6F #D6548E

Accessibility & contrast

On white

8.40
#8E2252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E2252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2252
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2252#FFFFFF#000000##FFFFFF
##8E22521.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2252;
/* rgb */ color: rgb(142, 34, 82);
/* oklch */ color: oklch(44.1% 0.149 358.3);
Tailwind
colors: {
  custom: {
    50: '#b46882',
    500: '#8e2252',
    950: '#000000',
  },
}
SCSS
$custom: #8e2252;
$custom-light: #b46882;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2252",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 333.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44132,
    "c": 0.14853,
    "h": 358.3
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#8E2252
secondary
#52BA8C
accent
#E49D43
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2252

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

Preview Lab → · Contrast checker → · Palette generator →

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