#8A1E6E#8A1E6E

#8A1E6E is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.165 H 340.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8A1E6E
RGBrgb(138, 30, 110)
HSLhsl(316, 64%, 33%)
HSVhsv(316, 78%, 54%)
CMYKcmyk(0%, 78.3%, 20.3%, 45.9%)
CIE-LABlab(32.83, 52.07, -20.16)
CIE-LCHlch(32.83, 55.84, 338.84°)
OKLaboklab(44.29% 0.1559 -0.0543)
OKLCHoklch(44.29% 0.165 340.8)
XYZxyz(13.7604, 7.4590, 15.4639)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E6E #1E8A3A
analogous
#701E8A #8A1E6E #8A1E38
triadic
#8A1E6E #6E8A1E #1E6E8A
tetradic
#8A1E6E #8A701E #1E8A3A #1E388A
square
#8A1E6E #8A701E #1E8A3A #1E388A
split-complementary
#8A1E6E #388A1E #1E8A70
monochromatic
#25081E #581346 #8A1E6E #BC2996 #D84BB3

Accessibility & contrast

On white

8.43
#8A1E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8A1E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E6E
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E6E#FFFFFF#000000##FFFFFF
##8A1E6E1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274270
Deuteranopia (green-blind)
#4A536C
Tritanopia (blue-blind)
#932144
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1e6e;
/* rgb */ color: rgb(138, 30, 110);
/* oklch */ color: oklch(44.3% 0.165 340.8);
Tailwind
colors: {
  custom: {
    50: '#b06697',
    500: '#8a1e6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e6e;
$custom-light: #b06697;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e6e",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 315.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44286,
    "c": 0.16506,
    "h": 340.8
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#8A1E6E
secondary
#4ABA67
accent
#E76C41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060D
muted
#807A7E

Preview Lab

Preview with #8A1E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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