#8A1E50#8A1E50

#8A1E50 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.149 H 357.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#8A1E50
RGBrgb(138, 30, 80)
HSLhsl(332, 64%, 33%)
HSVhsv(332, 78%, 54%)
CMYKcmyk(0%, 78.3%, 42%, 45.9%)
CIE-LABlab(31.61, 48.35, -2.62)
CIE-LCHlch(31.61, 48.42, 356.90°)
OKLaboklab(43% 0.1486 -0.0063)
OKLCHoklch(43% 0.149 357.6)
XYZxyz(12.3944, 6.9126, 8.2694)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E50 #1E8A58
analogous
#8A1E86 #8A1E50 #8A221E
triadic
#8A1E50 #508A1E #1E508A
tetradic
#8A1E50 #868A1E #1E8A58 #221E8A
square
#8A1E50 #868A1E #1E8A58 #221E8A
split-complementary
#8A1E50 #1E8A22 #1E868A
monochromatic
#250816 #581333 #8A1E50 #BC296D #D84B8C

Accessibility & contrast

On white

8.82
#8A1E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8A1E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E50
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E50#FFFFFF#000000##FFFFFF
##8A1E501.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353D51
Deuteranopia (green-blind)
#53524E
Tritanopia (blue-blind)
#960D34
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a1e50;
/* rgb */ color: rgb(138, 30, 80);
/* oklch */ color: oklch(43.0% 0.149 357.6);
Tailwind
colors: {
  custom: {
    50: '#b16581',
    500: '#8a1e50',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e50;
$custom-light: #b16581;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e50",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 80
  },
  "hsl": {
    "h": 332.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42996,
    "c": 0.14871,
    "h": 357.6
  },
  "luminance": 0.06911
}

Semantic roles & 50–950 ramp

primary
#8A1E50
secondary
#4ABA86
accent
#E79A41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A1E50

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

Preview Lab → · Contrast checker → · Palette generator →

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