#8A2054#8A2054

#8A2054 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.148 H 355.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#8A2054
RGBrgb(138, 32, 84)
HSLhsl(331, 62%, 33%)
HSVhsv(331, 77%, 54%)
CMYKcmyk(0%, 76.8%, 39.1%, 45.9%)
CIE-LABlab(31.98, 48.11, -4.68)
CIE-LCHlch(31.98, 48.34, 354.45°)
OKLaboklab(43.32% 0.1477 -0.0117)
OKLCHoklch(43.32% 0.148 355.5)
XYZxyz(12.5988, 7.0780, 9.0885)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2054 #208A56
analogous
#8A2089 #8A2054 #8A2120
triadic
#8A2054 #548A20 #20548A
tetradic
#8A2054 #898A20 #208A56 #21208A
square
#8A2054 #898A20 #208A56 #21208A
split-complementary
#8A2054 #208A21 #20898A
monochromatic
#270918 #581436 #8A2054 #BC2C72 #D64E91

Accessibility & contrast

On white

8.69
#8A2054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2054
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2054#FFFFFF#000000##FFFFFF
##8A20541.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353F55
Deuteranopia (green-blind)
#535252
Tritanopia (blue-blind)
#951337
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2054;
/* rgb */ color: rgb(138, 32, 84);
/* oklch */ color: oklch(43.3% 0.148 355.5);
Tailwind
colors: {
  custom: {
    50: '#b16684',
    500: '#8a2054',
    950: '#000000',
  },
}
SCSS
$custom: #8a2054;
$custom-light: #b16684;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2054",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 330.566,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43318,
    "c": 0.14819,
    "h": 355.5
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#8A2054
secondary
#4DB984
accent
#E59542
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A2054

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

Preview Lab → · Contrast checker → · Palette generator →

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