#8E4875#8E4875

#8E4875 is a mid, moderate pink. Relative luminance 0.117; OKLCH L 50.3% C 0.110 H 342.6°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8E4875
RGBrgb(142, 72, 117)
HSLhsl(321, 33%, 42%)
HSVhsv(321, 49%, 56%)
CMYKcmyk(0%, 49.3%, 17.6%, 44.3%)
CIE-LABlab(40.69, 35.61, -12.43)
CIE-LCHlch(40.69, 37.72, 340.75°)
OKLaboklab(50.3% 0.1054 -0.0331)
OKLCHoklch(50.3% 0.11 342.6)
XYZxyz(16.6838, 11.6711, 18.2002)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4875 #488E61
analogous
#84488E #8E4875 #8E4852
triadic
#8E4875 #758E48 #48758E
tetradic
#8E4875 #8E8448 #488E61 #48528E
square
#8E4875 #8E8448 #488E61 #48528E
split-complementary
#8E4875 #528E48 #488E84
monochromatic
#3D1F32 #653354 #8E4875 #B06395 #C58CB0

Accessibility & contrast

On white

6.30
#8E4875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8E4875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4875
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4875#FFFFFF#000000##FFFFFF
##8E48751.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5977
Deuteranopia (green-blind)
#5F6473
Tritanopia (blue-blind)
#964859
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e4875;
/* rgb */ color: rgb(142, 72, 117);
/* oklch */ color: oklch(50.3% 0.110 342.6);
Tailwind
colors: {
  custom: {
    50: '#b17d9c',
    500: '#8e4875',
    950: '#000000',
  },
}
SCSS
$custom: #8e4875;
$custom-light: #b17d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4875",
  "rgb": {
    "r": 142,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 321.429,
    "s": 32.71,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50299,
    "c": 0.11049,
    "h": 342.6
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#8E4875
secondary
#82B092
accent
#C9855F
background
#FBF7F9
surface
#F6EEF2
border
#D0C9CC
text
#110A0E
muted
#807C7E

Preview Lab

Preview with #8E4875

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

Preview Lab → · Contrast checker → · Palette generator →

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