#8E1B63#8E1B63

#8E1B63 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.2% C 0.164 H 347.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#8E1B63
RGBrgb(142, 27, 99)
HSLhsl(322, 68%, 33%)
HSVhsv(322, 81%, 56%)
CMYKcmyk(0%, 81%, 30.3%, 44.3%)
CIE-LABlab(32.78, 52.53, -13.12)
CIE-LCHlch(32.78, 54.14, 345.97°)
OKLaboklab(44.23% 0.1603 -0.0346)
OKLCHoklch(44.23% 0.164 347.8)
XYZxyz(13.8001, 7.4371, 12.5107)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B63 #1B8E46
analogous
#7F1B8E #8E1B63 #8E1B29
triadic
#8E1B63 #638E1B #1B638E
tetradic
#8E1B63 #8E7F1B #1B8E46 #1B298E
square
#8E1B63 #8E7F1B #1B8E46 #1B298E
split-complementary
#8E1B63 #298E1B #1B8E7F
monochromatic
#27071B #5B113F #8E1B63 #C12587 #DC47A4

Accessibility & contrast

On white

8.44
#8E1B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E1B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B63
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B63#FFFFFF#000000##FFFFFF
##8E1B631.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4065
Deuteranopia (green-blind)
#505460
Tritanopia (blue-blind)
#99153D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1b63;
/* rgb */ color: rgb(142, 27, 99);
/* oklch */ color: oklch(44.2% 0.164 347.8);
Tailwind
colors: {
  custom: {
    50: '#b3658f',
    500: '#8e1b63',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b63;
$custom-light: #b3658f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b63",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 322.435,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44231,
    "c": 0.16403,
    "h": 347.8
  },
  "luminance": 0.07436
}

Semantic roles & 50–950 ramp

primary
#8E1B63
secondary
#47BE73
accent
#EB7E3D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060C
muted
#817A7D

Preview Lab

Preview with #8E1B63

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

Preview Lab → · Contrast checker → · Palette generator →

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