#8E1A50#8E1A50

#8E1A50 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.156 H 358.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8E1A50
RGBrgb(142, 26, 80)
HSLhsl(332, 69%, 33%)
HSVhsv(332, 82%, 56%)
CMYKcmyk(0%, 81.7%, 43.7%, 44.3%)
CIE-LABlab(31.97, 50.69, -2.00)
CIE-LCHlch(31.97, 50.73, 357.75°)
OKLaboklab(43.4% 0.1559 -0.0046)
OKLCHoklch(43.4% 0.156 358.3)
XYZxyz(12.9737, 7.0705, 8.2694)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A50 #1A8E58
analogous
#8E1A8A #8E1A50 #8E1E1A
triadic
#8E1A50 #508E1A #1A508E
tetradic
#8E1A50 #8A8E1A #1A8E58 #1E1A8E
square
#8E1A50 #8A8E1A #1A8E58 #1E1A8E
split-complementary
#8E1A50 #1A8E1E #1A8A8E
monochromatic
#270716 #5A1133 #8E1A50 #C2236D #DD458C

Accessibility & contrast

On white

8.70
#8E1A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E1A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A50
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A50#FFFFFF#000000##FFFFFF
##8E1A501.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D51
Deuteranopia (green-blind)
#55534D
Tritanopia (blue-blind)
#9A0133
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1a50;
/* rgb */ color: rgb(142, 26, 80);
/* oklch */ color: oklch(43.4% 0.156 358.3);
Tailwind
colors: {
  custom: {
    50: '#b46481',
    500: '#8e1a50',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a50;
$custom-light: #b46481;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a50",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 80
  },
  "hsl": {
    "h": 332.069,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.15601,
    "h": 358.3
  },
  "luminance": 0.07069
}

Semantic roles & 50–950 ramp

primary
#8E1A50
secondary
#45BE86
accent
#EC9A3C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C

Preview Lab

Preview with #8E1A50

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

Preview Lab → · Contrast checker → · Palette generator →

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