#8E2852#8E2852

#8E2852 is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.141 H 359.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8E2852
RGBrgb(142, 40, 82)
HSLhsl(335, 56%, 36%)
HSVhsv(335, 72%, 56%)
CMYKcmyk(0%, 71.8%, 42.3%, 44.3%)
CIE-LABlab(33.73, 46.12, -0.71)
CIE-LCHlch(33.73, 46.13, 359.12°)
OKLaboklab(44.72% 0.1414 -0.0013)
OKLCHoklch(44.72% 0.141 359.5)
XYZxyz(13.4381, 7.8792, 8.7942)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2852 #288E64
analogous
#8E2885 #8E2852 #8E3128
triadic
#8E2852 #528E28 #28528E
tetradic
#8E2852 #858E28 #288E64 #31288E
square
#8E2852 #858E28 #288E64 #31288E
split-complementary
#8E2852 #288E31 #28858E
monochromatic
#2F0D1B #5E1B36 #8E2852 #BE356E #D25F8E

Accessibility & contrast

On white

8.15
#8E2852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E2852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2852
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2852#FFFFFF#000000##FFFFFF
##8E28521.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#585650
Tritanopia (blue-blind)
#9A1B39
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e2852;
/* rgb */ color: rgb(142, 40, 82);
/* oklch */ color: oklch(44.7% 0.141 359.5);
Tailwind
colors: {
  custom: {
    50: '#b36a82',
    500: '#8e2852',
    950: '#000000',
  },
}
SCSS
$custom: #8e2852;
$custom-light: #b36a82;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2852",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 335.294,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4472,
    "c": 0.14138,
    "h": 359.5
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#8E2852
secondary
#5BB791
accent
#DFA148
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2852

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

Preview Lab → · Contrast checker → · Palette generator →

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