#8A2076#8A2076

#8A2076 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.168 H 336.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8A2076
RGBrgb(138, 32, 118)
HSLhsl(311, 62%, 33%)
HSVhsv(311, 77%, 54%)
CMYKcmyk(0%, 76.8%, 14.5%, 45.9%)
CIE-LABlab(33.45, 52.60, -24.27)
CIE-LCHlch(33.45, 57.93, 335.23°)
OKLaboklab(44.86% 0.1549 -0.066)
OKLCHoklch(44.86% 0.168 336.9)
XYZxyz(14.2680, 7.7456, 17.8796)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2076 #208A34
analogous
#69208A #8A2076 #8A2041
triadic
#8A2076 #768A20 #20768A
tetradic
#8A2076 #8A6920 #208A34 #20418A
square
#8A2076 #8A6920 #208A34 #20418A
split-complementary
#8A2076 #418A20 #208A69
monochromatic
#270921 #58144C #8A2076 #BC2CA0 #D64EBC

Accessibility & contrast

On white

8.24
#8A2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2076
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2076#FFFFFF#000000##FFFFFF
##8A20761.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234478
Deuteranopia (green-blind)
#485474
Tritanopia (blue-blind)
#922749
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2076;
/* rgb */ color: rgb(138, 32, 118);
/* oklch */ color: oklch(44.9% 0.168 336.9);
Tailwind
colors: {
  custom: {
    50: '#b0679e',
    500: '#8a2076',
    950: '#000000',
  },
}
SCSS
$custom: #8a2076;
$custom-light: #b0679e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2076",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 311.321,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4486,
    "c": 0.16841,
    "h": 336.9
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#8A2076
secondary
#4DB961
accent
#E56142
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2076

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

Preview Lab → · Contrast checker → · Palette generator →

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