#8E1852#8E1852

#8E1852 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.159 H 356.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8E1852
RGBrgb(142, 24, 82)
HSLhsl(331, 71%, 33%)
HSVhsv(331, 83%, 56%)
CMYKcmyk(0%, 83.1%, 42.3%, 44.3%)
CIE-LABlab(31.84, 51.44, -3.49)
CIE-LCHlch(31.84, 51.56, 356.12°)
OKLaboklab(43.33% 0.1584 -0.0085)
OKLCHoklch(43.33% 0.159 356.9)
XYZxyz(13.0059, 7.0150, 8.6502)
Luminance0.0701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1852 #188E54
analogous
#8E188D #8E1852 #8E1918
triadic
#8E1852 #528E18 #18528E
tetradic
#8E1852 #8D8E18 #188E54 #19188E
square
#8E1852 #8D8E18 #188E54 #19188E
split-complementary
#8E1852 #188E19 #188D8E
monochromatic
#250616 #5A0F34 #8E1852 #C22170 #DF418F

Accessibility & contrast

On white

8.74
#8E1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1852
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1852#FFFFFF#000000##FFFFFF
##8E18521.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#54534F
Tritanopia (blue-blind)
#9A0033
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1852;
/* rgb */ color: rgb(142, 24, 82);
/* oklch */ color: oklch(43.3% 0.159 356.9);
Tailwind
colors: {
  custom: {
    50: '#b46482',
    500: '#8e1852',
    950: '#000000',
  },
}
SCSS
$custom: #8e1852;
$custom-light: #b46482;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1852",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 330.508,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43334,
    "c": 0.15859,
    "h": 356.9
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#8E1852
secondary
#42C082
accent
#EE953A
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1852

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

Preview Lab → · Contrast checker → · Palette generator →

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