#8E1875#8E1875

#8E1875 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.178 H 338.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8E1875
RGBrgb(142, 24, 117)
HSLhsl(313, 71%, 33%)
HSVhsv(313, 83%, 56%)
CMYKcmyk(0%, 83.1%, 17.6%, 44.3%)
CIE-LABlab(33.33, 55.72, -23.77)
CIE-LCHlch(33.33, 60.58, 336.90°)
OKLaboklab(44.9% 0.1658 -0.0645)
OKLCHoklch(44.9% 0.178 338.7)
XYZxyz(14.6932, 7.6899, 17.5367)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1875 #188E31
analogous
#6C188E #8E1875 #8E183A
triadic
#8E1875 #758E18 #18758E
tetradic
#8E1875 #8E6C18 #188E31 #183A8E
square
#8E1875 #8E6C18 #188E31 #183A8E
split-complementary
#8E1875 #3A8E18 #188E6C
monochromatic
#25061F #5A0F4A #8E1875 #C221A0 #DF41BE

Accessibility & contrast

On white

8.28
#8E1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E1875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1875
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1875#FFFFFF#000000##FFFFFF
##8E18751.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204377
Deuteranopia (green-blind)
#495572
Tritanopia (blue-blind)
#961F46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1875;
/* rgb */ color: rgb(142, 24, 117);
/* oklch */ color: oklch(44.9% 0.178 338.7);
Tailwind
colors: {
  custom: {
    50: '#b3659d',
    500: '#8e1875',
    950: '#000000',
  },
}
SCSS
$custom: #8e1875;
$custom-light: #b3659d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1875",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 312.712,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44896,
    "c": 0.17787,
    "h": 338.7
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#8E1875
secondary
#42C05D
accent
#EE603A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1875

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

Preview Lab → · Contrast checker → · Palette generator →

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