#8A2159#8A2159

#8A2159 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.149 H 352.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#8A2159
RGBrgb(138, 33, 89)
HSLhsl(328, 61%, 34%)
HSVhsv(328, 76%, 54%)
CMYKcmyk(0%, 76.1%, 35.5%, 45.9%)
CIE-LABlab(32.29, 48.34, -7.48)
CIE-LCHlch(32.29, 48.91, 351.21°)
OKLaboklab(43.6% 0.1481 -0.0192)
OKLCHoklch(43.6% 0.149 352.6)
XYZxyz(12.8290, 7.2138, 10.1661)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2159 #218A52
analogous
#86218A #8A2159 #8A2124
triadic
#8A2159 #598A21 #21598A
tetradic
#8A2159 #8A8621 #218A52 #21248A
square
#8A2159 #8A8621 #218A52 #21248A
split-complementary
#8A2159 #248A21 #218A86
monochromatic
#270919 #591539 #8A2159 #BB2D79 #D55097

Accessibility & contrast

On white

8.60
#8A2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#8A2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2159
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2159#FFFFFF#000000##FFFFFF
##8A21591.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34405A
Deuteranopia (green-blind)
#525357
Tritanopia (blue-blind)
#95183A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2159;
/* rgb */ color: rgb(138, 33, 89);
/* oklch */ color: oklch(43.6% 0.149 352.6);
Tailwind
colors: {
  custom: {
    50: '#b06787',
    500: '#8a2159',
    950: '#000000',
  },
}
SCSS
$custom: #8a2159;
$custom-light: #b06787;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2159",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 328,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43601,
    "c": 0.14938,
    "h": 352.6
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#8A2159
secondary
#4EB980
accent
#E58F43
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A2159

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

Preview Lab → · Contrast checker → · Palette generator →

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