#8A1E58#8A1E58

#8A1E58 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.152 H 352.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8A1E58
RGBrgb(138, 30, 88)
HSLhsl(328, 64%, 33%)
HSVhsv(328, 78%, 54%)
CMYKcmyk(0%, 78.3%, 36.2%, 45.9%)
CIE-LABlab(31.89, 49.23, -7.42)
CIE-LCHlch(31.89, 49.79, 351.43°)
OKLaboklab(43.3% 0.1511 -0.019)
OKLCHoklch(43.3% 0.152 352.8)
XYZxyz(12.7077, 7.0379, 9.9199)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E58 #1E8A50
analogous
#861E8A #8A1E58 #8A1E22
triadic
#8A1E58 #588A1E #1E588A
tetradic
#8A1E58 #8A861E #1E8A50 #1E228A
square
#8A1E58 #8A861E #1E8A50 #1E228A
split-complementary
#8A1E58 #228A1E #1E8A86
monochromatic
#250818 #581338 #8A1E58 #BC2978 #D84B96

Accessibility & contrast

On white

8.72
#8A1E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E58
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E58#FFFFFF#000000##FFFFFF
##8A1E581.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323F59
Deuteranopia (green-blind)
#515256
Tritanopia (blue-blind)
#951338
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1e58;
/* rgb */ color: rgb(138, 30, 88);
/* oklch */ color: oklch(43.3% 0.152 352.8);
Tailwind
colors: {
  custom: {
    50: '#b06587',
    500: '#8a1e58',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e58;
$custom-light: #b06587;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e58",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 327.778,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43299,
    "c": 0.15225,
    "h": 352.8
  },
  "luminance": 0.07036
}

Semantic roles & 50–950 ramp

primary
#8A1E58
secondary
#4ABA7E
accent
#E78E41
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A1E58

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

Preview Lab → · Contrast checker → · Palette generator →

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