#8A2056#8A2056

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

Color values

HEX#8A2056
RGBrgb(138, 32, 86)
HSLhsl(329, 62%, 33%)
HSVhsv(329, 77%, 54%)
CMYKcmyk(0%, 76.8%, 37.7%, 45.9%)
CIE-LABlab(32.06, 48.34, -5.87)
CIE-LCHlch(32.06, 48.69, 353.07°)
OKLaboklab(43.39% 0.1484 -0.0149)
OKLCHoklch(43.39% 0.149 354.3)
XYZxyz(12.6783, 7.1097, 9.5070)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2056 #208A54
analogous
#89208A #8A2056 #8A2021
triadic
#8A2056 #568A20 #20568A
tetradic
#8A2056 #8A8920 #208A54 #20218A
square
#8A2056 #8A8920 #208A54 #20218A
split-complementary
#8A2056 #218A20 #208A89
monochromatic
#270918 #581437 #8A2056 #BC2C75 #D64E93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2056#FFFFFF#000000##FFFFFF
##8A20561.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)
#343F57
Deuteranopia (green-blind)
#525254
Tritanopia (blue-blind)
#951538
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2056;
/* rgb */ color: rgb(138, 32, 86);
/* oklch */ color: oklch(43.4% 0.149 354.3);
Tailwind
colors: {
  custom: {
    50: '#b06685',
    500: '#8a2056',
    950: '#000000',
  },
}
SCSS
$custom: #8a2056;
$custom-light: #b06685;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2056",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 329.434,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43394,
    "c": 0.1491,
    "h": 354.3
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#8A2056
secondary
#4DB982
accent
#E59242
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A2056

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

Preview Lab → · Contrast checker → · Palette generator →

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