#8E1F63#8E1F63

#8E1F63 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.5% C 0.160 H 348.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8E1F63
RGBrgb(142, 31, 99)
HSLhsl(323, 64%, 34%)
HSVhsv(323, 78%, 56%)
CMYKcmyk(0%, 78.2%, 30.3%, 44.3%)
CIE-LABlab(33.21, 51.32, -12.48)
CIE-LCHlch(33.21, 52.81, 346.34°)
OKLaboklab(44.54% 0.1566 -0.0328)
OKLCHoklch(44.54% 0.16 348.2)
XYZxyz(13.8982, 7.6332, 12.5434)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F63 #1F8E4A
analogous
#821F8E #8E1F63 #8E1F2C
triadic
#8E1F63 #638E1F #1F638E
tetradic
#8E1F63 #8E821F #1F8E4A #1F2C8E
square
#8E1F63 #8E821F #1F8E4A #1F2C8E
split-complementary
#8E1F63 #2C8E1F #1F8E82
monochromatic
#2A091D #5C1440 #8E1F63 #C02A86 #D94FA3

Accessibility & contrast

On white

8.31
#8E1F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E1F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F63
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F63#FFFFFF#000000##FFFFFF
##8E1F631.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304265
Deuteranopia (green-blind)
#515561
Tritanopia (blue-blind)
#98193E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e1f63;
/* rgb */ color: rgb(142, 31, 99);
/* oklch */ color: oklch(44.5% 0.160 348.2);
Tailwind
colors: {
  custom: {
    50: '#b3678f',
    500: '#8e1f63',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f63;
$custom-light: #b3678f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f63",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 323.243,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4454,
    "c": 0.15995,
    "h": 348.2
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#8E1F63
secondary
#4DBB78
accent
#E78141
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E1F63

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

Preview Lab → · Contrast checker → · Palette generator →

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