#8A1A76#8A1A76

#8A1A76 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.175 H 336.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#8A1A76
RGBrgb(138, 26, 118)
HSLhsl(311, 68%, 32%)
HSVhsv(311, 81%, 54%)
CMYKcmyk(0%, 81.2%, 14.5%, 45.9%)
CIE-LABlab(32.81, 54.41, -25.26)
CIE-LCHlch(32.81, 59.99, 335.10°)
OKLaboklab(44.4% 0.1604 -0.0688)
OKLCHoklch(44.4% 0.175 336.8)
XYZxyz(14.1209, 7.4514, 17.8306)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A76 #1A8A2E
analogous
#661A8A #8A1A76 #8A1A3E
triadic
#8A1A76 #768A1A #1A768A
tetradic
#8A1A76 #8A661A #1A8A2E #1A3E8A
square
#8A1A76 #8A661A #1A8A2E #1A3E8A
split-complementary
#8A1A76 #3E8A1A #1A8A66
monochromatic
#23071E #57104A #8A1A76 #BD24A2 #DC43C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1A76#FFFFFF#000000##FFFFFF
##8A1A761.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)
#1D4278
Deuteranopia (green-blind)
#465373
Tritanopia (blue-blind)
#922347
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1a76;
/* rgb */ color: rgb(138, 26, 118);
/* oklch */ color: oklch(44.4% 0.175 336.8);
Tailwind
colors: {
  custom: {
    50: '#b0659e',
    500: '#8a1a76',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a76;
$custom-light: #b0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a76",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 310.714,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44403,
    "c": 0.17452,
    "h": 336.8
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

primary
#8A1A76
secondary
#43BD59
accent
#EB5C3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1A76

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

Preview Lab → · Contrast checker → · Palette generator →

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