#8A1E52#8A1E52

#8A1E52 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.150 H 356.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#8A1E52
RGBrgb(138, 30, 82)
HSLhsl(331, 64%, 33%)
HSVhsv(331, 78%, 54%)
CMYKcmyk(0%, 78.3%, 40.6%, 45.9%)
CIE-LABlab(31.68, 48.56, -3.82)
CIE-LCHlch(31.68, 48.71, 355.50°)
OKLaboklab(43.07% 0.1492 -0.0094)
OKLCHoklch(43.07% 0.15 356.4)
XYZxyz(12.4694, 6.9426, 8.6644)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E52 #1E8A56
analogous
#8A1E88 #8A1E52 #8A201E
triadic
#8A1E52 #528A1E #1E528A
tetradic
#8A1E52 #888A1E #1E8A56 #201E8A
square
#8A1E52 #888A1E #1E8A56 #201E8A
split-complementary
#8A1E52 #1E8A20 #1E888A
monochromatic
#250816 #581334 #8A1E52 #BC2970 #D84B8F

Accessibility & contrast

On white

8.79
#8A1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8A1E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E52
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E52#FFFFFF#000000##FFFFFF
##8A1E521.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E53
Deuteranopia (green-blind)
#525250
Tritanopia (blue-blind)
#960F35
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e52;
/* rgb */ color: rgb(138, 30, 82);
/* oklch */ color: oklch(43.1% 0.150 356.4);
Tailwind
colors: {
  custom: {
    50: '#b16582',
    500: '#8a1e52',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e52;
$custom-light: #b16582;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e52",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 331.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43069,
    "c": 0.14953,
    "h": 356.4
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#8A1E52
secondary
#4ABA84
accent
#E79741
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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