#8E1D63#8E1D63

#8E1D63 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.162 H 348.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8E1D63
RGBrgb(142, 29, 99)
HSLhsl(323, 66%, 34%)
HSVhsv(323, 80%, 56%)
CMYKcmyk(0%, 79.6%, 30.3%, 44.3%)
CIE-LABlab(32.99, 51.94, -12.81)
CIE-LCHlch(32.99, 53.49, 346.15°)
OKLaboklab(44.38% 0.1585 -0.0337)
OKLCHoklch(44.38% 0.162 348)
XYZxyz(13.8475, 7.5320, 12.5265)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D63 #1D8E48
analogous
#801D8E #8E1D63 #8E1D2A
triadic
#8E1D63 #638E1D #1D638E
tetradic
#8E1D63 #8E801D #1D8E48 #1D2A8E
square
#8E1D63 #8E801D #1D8E48 #1D2A8E
split-complementary
#8E1D63 #2A8E1D #1D8E80
monochromatic
#28081C #5B1340 #8E1D63 #C12786 #DA4BA4

Accessibility & contrast

On white

8.38
#8E1D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E1D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D63
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D63#FFFFFF#000000##FFFFFF
##8E1D631.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4165
Deuteranopia (green-blind)
#515560
Tritanopia (blue-blind)
#99173E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1d63;
/* rgb */ color: rgb(142, 29, 99);
/* oklch */ color: oklch(44.4% 0.162 348.0);
Tailwind
colors: {
  custom: {
    50: '#b3668f',
    500: '#8e1d63',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d63;
$custom-light: #b3668f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d63",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 322.832,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44381,
    "c": 0.16205,
    "h": 348
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#8E1D63
secondary
#4ABD76
accent
#E9803F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8E1D63

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

Preview Lab → · Contrast checker → · Palette generator →

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