#8A1E56#8A1E56

#8A1E56 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.151 H 354.0°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#8A1E56
RGBrgb(138, 30, 86)
HSLhsl(329, 64%, 33%)
HSVhsv(329, 78%, 54%)
CMYKcmyk(0%, 78.3%, 37.7%, 45.9%)
CIE-LABlab(31.82, 49.00, -6.23)
CIE-LCHlch(31.82, 49.40, 352.76°)
OKLaboklab(43.22% 0.1505 -0.0158)
OKLCHoklch(43.22% 0.151 354)
XYZxyz(12.6260, 7.0053, 9.4896)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E56 #1E8A52
analogous
#881E8A #8A1E56 #8A1E20
triadic
#8A1E56 #568A1E #1E568A
tetradic
#8A1E56 #8A881E #1E8A52 #1E208A
square
#8A1E56 #8A881E #1E8A52 #1E208A
split-complementary
#8A1E56 #208A1E #1E8A88
monochromatic
#250817 #581337 #8A1E56 #BC2975 #D84B94

Accessibility & contrast

On white

8.75
#8A1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8A1E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E56
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E56#FFFFFF#000000##FFFFFF
##8A1E561.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333E57
Deuteranopia (green-blind)
#515254
Tritanopia (blue-blind)
#951237
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1e56;
/* rgb */ color: rgb(138, 30, 86);
/* oklch */ color: oklch(43.2% 0.151 354.0);
Tailwind
colors: {
  custom: {
    50: '#b16585',
    500: '#8a1e56',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e56;
$custom-light: #b16585;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e56",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 328.889,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43221,
    "c": 0.1513,
    "h": 354
  },
  "luminance": 0.07004
}

Semantic roles & 50–950 ramp

primary
#8A1E56
secondary
#4ABA80
accent
#E79141
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1E56

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

Preview Lab → · Contrast checker → · Palette generator →

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