#8A2156#8A2156

#8A2156 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.148 H 354.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#8A2156
RGBrgb(138, 33, 86)
HSLhsl(330, 61%, 34%)
HSVhsv(330, 76%, 54%)
CMYKcmyk(0%, 76.1%, 37.7%, 45.9%)
CIE-LABlab(32.18, 47.99, -5.69)
CIE-LCHlch(32.18, 48.33, 353.24°)
OKLaboklab(43.48% 0.1473 -0.0144)
OKLCHoklch(43.48% 0.148 354.4)
XYZxyz(12.7056, 7.1644, 9.5161)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2156 #218A55
analogous
#89218A #8A2156 #8A2121
triadic
#8A2156 #568A21 #21568A
tetradic
#8A2156 #8A8921 #218A55 #21218A
square
#8A2156 #8A8921 #218A55 #21218A
split-complementary
#8A2156 #218A21 #218A89
monochromatic
#270918 #591537 #8A2156 #BB2D75 #D55093

Accessibility & contrast

On white

8.63
#8A2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8A2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2156
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2156#FFFFFF#000000##FFFFFF
##8A21561.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353F57
Deuteranopia (green-blind)
#525354
Tritanopia (blue-blind)
#951638
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2156;
/* rgb */ color: rgb(138, 33, 86);
/* oklch */ color: oklch(43.5% 0.148 354.4);
Tailwind
colors: {
  custom: {
    50: '#b06785',
    500: '#8a2156',
    950: '#000000',
  },
}
SCSS
$custom: #8a2156;
$custom-light: #b06785;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2156",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 329.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.14795,
    "h": 354.4
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#8A2156
secondary
#4EB983
accent
#E59343
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #8A2156

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

Preview Lab → · Contrast checker → · Palette generator →

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