#8E1856#8E1856

#8E1856 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.160 H 354.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8E1856
RGBrgb(142, 24, 86)
HSLhsl(328, 71%, 33%)
HSVhsv(328, 83%, 56%)
CMYKcmyk(0%, 83.1%, 39.4%, 44.3%)
CIE-LABlab(31.98, 51.86, -5.90)
CIE-LCHlch(31.98, 52.20, 353.51°)
OKLaboklab(43.48% 0.1596 -0.0149)
OKLCHoklch(43.48% 0.16 354.7)
XYZxyz(13.1626, 7.0776, 9.4753)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1856 #188E50
analogous
#8B188E #8E1856 #8E181B
triadic
#8E1856 #568E18 #18568E
tetradic
#8E1856 #8E8B18 #188E50 #181B8E
square
#8E1856 #8E8B18 #188E50 #181B8E
split-complementary
#8E1856 #1B8E18 #188E8B
monochromatic
#250617 #5A0F36 #8E1856 #C22176 #DF4194

Accessibility & contrast

On white

8.69
#8E1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E1856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1856
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1856#FFFFFF#000000##FFFFFF
##8E18561.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D57
Deuteranopia (green-blind)
#535353
Tritanopia (blue-blind)
#9A0335
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1856;
/* rgb */ color: rgb(142, 24, 86);
/* oklch */ color: oklch(43.5% 0.160 354.7);
Tailwind
colors: {
  custom: {
    50: '#b46485',
    500: '#8e1856',
    950: '#000000',
  },
}
SCSS
$custom: #8e1856;
$custom-light: #b46485;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1856",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 328.475,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.16029,
    "h": 354.7
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#8E1856
secondary
#42C07E
accent
#EE8F3A
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C

Preview Lab

Preview with #8E1856

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

Preview Lab → · Contrast checker → · Palette generator →

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