#8A1C62#8A1C62

#8A1C62 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.6% C 0.160 H 347.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8A1C62
RGBrgb(138, 28, 98)
HSLhsl(322, 66%, 33%)
HSVhsv(322, 80%, 54%)
CMYKcmyk(0%, 79.7%, 29%, 45.9%)
CIE-LABlab(32.07, 51.08, -13.63)
CIE-LCHlch(32.07, 52.87, 345.06°)
OKLaboklab(43.56% 0.1556 -0.036)
OKLCHoklch(43.56% 0.16 347)
XYZxyz(13.1017, 7.1171, 12.2367)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C62 #1C8A44
analogous
#7B1C8A #8A1C62 #8A1C2B
triadic
#8A1C62 #628A1C #1C628A
tetradic
#8A1C62 #8A7B1C #1C8A44 #1C2B8A
square
#8A1C62 #8A7B1C #1C8A44 #1C2B8A
split-complementary
#8A1C62 #2B8A1C #1C8A7B
monochromatic
#24071A #57123E #8A1C62 #BD2686 #DA47A4

Accessibility & contrast

On white

8.67
#8A1C62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8A1C62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C62
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C62#FFFFFF#000000##FFFFFF
##8A1C621.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3F64
Deuteranopia (green-blind)
#4E5260
Tritanopia (blue-blind)
#94183D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a1c62;
/* rgb */ color: rgb(138, 28, 98);
/* oklch */ color: oklch(43.6% 0.160 347.0);
Tailwind
colors: {
  custom: {
    50: '#b0658e',
    500: '#8a1c62',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c62;
$custom-light: #b0658e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c62",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 98
  },
  "hsl": {
    "h": 321.818,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43561,
    "c": 0.15969,
    "h": 347
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#8A1C62
secondary
#46BB71
accent
#E97D3F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A1C62

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

Preview Lab → · Contrast checker → · Palette generator →

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