#8A1776#8A1776

#8A1776 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.2% C 0.177 H 336.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8A1776
RGBrgb(138, 23, 118)
HSLhsl(310, 71%, 32%)
HSVhsv(310, 83%, 54%)
CMYKcmyk(0%, 83.3%, 14.5%, 45.9%)
CIE-LABlab(32.54, 55.21, -25.69)
CIE-LCHlch(32.54, 60.90, 335.04°)
OKLaboklab(44.21% 0.1628 -0.0701)
OKLCHoklch(44.21% 0.177 336.7)
XYZxyz(14.0579, 7.3254, 17.8096)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1776 #178A2B
analogous
#65178A #8A1776 #8A173D
triadic
#8A1776 #768A17 #17768A
tetradic
#8A1776 #8A6517 #178A2B #173D8A
square
#8A1776 #8A6517 #178A2B #173D8A
split-complementary
#8A1776 #3D8A17 #178A65
monochromatic
#21061C #560E49 #8A1776 #BE20A3 #DF3DC2

Accessibility & contrast

On white

8.52
#8A1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1776
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1776#FFFFFF#000000##FFFFFF
##8A17761.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4278
Deuteranopia (green-blind)
#455373
Tritanopia (blue-blind)
#922047
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a1776;
/* rgb */ color: rgb(138, 23, 118);
/* oklch */ color: oklch(44.2% 0.177 336.7);
Tailwind
colors: {
  custom: {
    50: '#b0649e',
    500: '#8a1776',
    950: '#000000',
  },
}
SCSS
$custom: #8a1776;
$custom-light: #b0649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1776",
  "rgb": {
    "r": 138,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 310.435,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44205,
    "c": 0.1772,
    "h": 336.7
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#8A1776
secondary
#3FBE55
accent
#EE593A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8A1776

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

Preview Lab → · Contrast checker → · Palette generator →

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