#8A1E62#8A1E62

#8A1E62 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.158 H 347.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#8A1E62
RGBrgb(138, 30, 98)
HSLhsl(322, 64%, 33%)
HSVhsv(322, 78%, 54%)
CMYKcmyk(0%, 78.3%, 29%, 45.9%)
CIE-LABlab(32.29, 50.45, -13.30)
CIE-LCHlch(32.29, 52.18, 345.24°)
OKLaboklab(43.72% 0.1536 -0.0351)
OKLCHoklch(43.72% 0.158 347.1)
XYZxyz(13.1507, 7.2151, 12.2530)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E62 #1E8A46
analogous
#7C1E8A #8A1E62 #8A1E2C
triadic
#8A1E62 #628A1E #1E628A
tetradic
#8A1E62 #8A7C1E #1E8A46 #1E2C8A
square
#8A1E62 #8A7C1E #1E8A46 #1E2C8A
split-complementary
#8A1E62 #2C8A1E #1E8A7C
monochromatic
#25081B #58133E #8A1E62 #BC2986 #D84BA4

Accessibility & contrast

On white

8.60
#8A1E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A1E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E62
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E62#FFFFFF#000000##FFFFFF
##8A1E621.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4064
Deuteranopia (green-blind)
#4E5360
Tritanopia (blue-blind)
#941A3D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a1e62;
/* rgb */ color: rgb(138, 30, 98);
/* oklch */ color: oklch(43.7% 0.158 347.1);
Tailwind
colors: {
  custom: {
    50: '#b0668e',
    500: '#8a1e62',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e62;
$custom-light: #b0668e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e62",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 98
  },
  "hsl": {
    "h": 322.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4372,
    "c": 0.15758,
    "h": 347.1
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#8A1E62
secondary
#4ABA73
accent
#E77E41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1E62

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

Preview Lab → · Contrast checker → · Palette generator →

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