#8A1E70#8A1E70

#8A1E70 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.4% C 0.166 H 339.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8A1E70
RGBrgb(138, 30, 112)
HSLhsl(314, 64%, 33%)
HSVhsv(314, 78%, 54%)
CMYKcmyk(0%, 78.3%, 18.8%, 45.9%)
CIE-LABlab(32.93, 52.35, -21.28)
CIE-LCHlch(32.93, 56.51, 337.88°)
OKLaboklab(44.39% 0.1561 -0.0575)
OKLCHoklch(44.39% 0.166 339.8)
XYZxyz(13.8705, 7.5031, 16.0438)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E70 #1E8A38
analogous
#6E1E8A #8A1E70 #8A1E3A
triadic
#8A1E70 #708A1E #1E708A
tetradic
#8A1E70 #8A6E1E #1E8A38 #1E3A8A
square
#8A1E70 #8A6E1E #1E8A38 #1E3A8A
split-complementary
#8A1E70 #3A8A1E #1E8A6E
monochromatic
#25081E #581347 #8A1E70 #BC2999 #D84BB6

Accessibility & contrast

On white

8.40
#8A1E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8A1E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E70
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E70#FFFFFF#000000##FFFFFF
##8A1E701.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264372
Deuteranopia (green-blind)
#4A546E
Tritanopia (blue-blind)
#922245
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1e70;
/* rgb */ color: rgb(138, 30, 112);
/* oklch */ color: oklch(44.4% 0.166 339.8);
Tailwind
colors: {
  custom: {
    50: '#b06699',
    500: '#8a1e70',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e70;
$custom-light: #b06699;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e70",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 314.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44387,
    "c": 0.1664,
    "h": 339.8
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#8A1E70
secondary
#4ABA65
accent
#E76941
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1E70

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

Preview Lab → · Contrast checker → · Palette generator →

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