#8A1E72#8A1E72

#8A1E72 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.168 H 338.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8A1E72
RGBrgb(138, 30, 114)
HSLhsl(313, 64%, 33%)
HSVhsv(313, 78%, 54%)
CMYKcmyk(0%, 78.3%, 17.4%, 45.9%)
CIE-LABlab(33.02, 52.64, -22.40)
CIE-LCHlch(33.02, 57.21, 336.95°)
OKLaboklab(44.49% 0.1564 -0.0607)
OKLCHoklch(44.49% 0.168 338.8)
XYZxyz(13.9831, 7.5481, 16.6368)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E72 #1E8A36
analogous
#6C1E8A #8A1E72 #8A1E3C
triadic
#8A1E72 #728A1E #1E728A
tetradic
#8A1E72 #8A6C1E #1E8A36 #1E3C8A
square
#8A1E72 #8A6C1E #1E8A36 #1E3C8A
split-complementary
#8A1E72 #3C8A1E #1E8A6C
monochromatic
#25081F #581348 #8A1E72 #BC299C #D84BB8

Accessibility & contrast

On white

8.37
#8A1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8A1E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E72
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E72#FFFFFF#000000##FFFFFF
##8A1E721.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#495470
Tritanopia (blue-blind)
#922346
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a1e72;
/* rgb */ color: rgb(138, 30, 114);
/* oklch */ color: oklch(44.5% 0.168 338.8);
Tailwind
colors: {
  custom: {
    50: '#b0669b',
    500: '#8a1e72',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e72;
$custom-light: #b0669b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e72",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 313.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44489,
    "c": 0.16776,
    "h": 338.8
  },
  "luminance": 0.07547
}

Semantic roles & 50–950 ramp

primary
#8A1E72
secondary
#4ABA63
accent
#E76641
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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