#8A2078#8A2078

#8A2078 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.170 H 336.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#8A2078
RGBrgb(138, 32, 120)
HSLhsl(310, 62%, 33%)
HSVhsv(310, 77%, 54%)
CMYKcmyk(0%, 76.8%, 13%, 45.9%)
CIE-LABlab(33.55, 52.90, -25.37)
CIE-LCHlch(33.55, 58.67, 334.38°)
OKLaboklab(44.97% 0.1551 -0.0692)
OKLCHoklch(44.97% 0.17 336)
XYZxyz(14.3881, 7.7937, 18.5122)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2078 #208A32
analogous
#67208A #8A2078 #8A2043
triadic
#8A2078 #788A20 #20788A
tetradic
#8A2078 #8A6720 #208A32 #20438A
square
#8A2078 #8A6720 #208A32 #20438A
split-complementary
#8A2078 #438A20 #208A67
monochromatic
#270922 #58144D #8A2078 #BC2CA3 #D64EBF

Accessibility & contrast

On white

8.21
#8A2078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A2078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2078
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2078#FFFFFF#000000##FFFFFF
##8A20781.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457A
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#91284A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2078;
/* rgb */ color: rgb(138, 32, 120);
/* oklch */ color: oklch(45.0% 0.170 336.0);
Tailwind
colors: {
  custom: {
    50: '#b0679f',
    500: '#8a2078',
    950: '#000000',
  },
}
SCSS
$custom: #8a2078;
$custom-light: #b0679f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2078",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 310.189,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44966,
    "c": 0.16986,
    "h": 336
  },
  "luminance": 0.07792
}

Semantic roles & 50–950 ramp

primary
#8A2078
secondary
#4DB95F
accent
#E55E42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2078

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

Preview Lab → · Contrast checker → · Palette generator →

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