#8A2176#8A2176

#8A2176 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.167 H 336.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#8A2176
RGBrgb(138, 33, 118)
HSLhsl(311, 61%, 34%)
HSVhsv(311, 76%, 54%)
CMYKcmyk(0%, 76.1%, 14.5%, 45.9%)
CIE-LABlab(33.56, 52.27, -24.09)
CIE-LCHlch(33.56, 57.55, 335.26°)
OKLaboklab(44.94% 0.1539 -0.0655)
OKLCHoklch(44.94% 0.167 336.9)
XYZxyz(14.2954, 7.8003, 17.8888)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2176 #218A35
analogous
#69218A #8A2176 #8A2141
triadic
#8A2176 #768A21 #21768A
tetradic
#8A2176 #8A6921 #218A35 #21418A
square
#8A2176 #8A6921 #218A35 #21418A
split-complementary
#8A2176 #418A21 #218A69
monochromatic
#270922 #59154C #8A2176 #BB2DA0 #D550BC

Accessibility & contrast

On white

8.20
#8A2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2176
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2176#FFFFFF#000000##FFFFFF
##8A21761.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244578
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#922849
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2176;
/* rgb */ color: rgb(138, 33, 118);
/* oklch */ color: oklch(44.9% 0.167 336.9);
Tailwind
colors: {
  custom: {
    50: '#b0689e',
    500: '#8a2176',
    950: '#000000',
  },
}
SCSS
$custom: #8a2176;
$custom-light: #b0689e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2176",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 311.429,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44943,
    "c": 0.1673,
    "h": 336.9
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#8A2176
secondary
#4EB963
accent
#E56243
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2176

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

Preview Lab → · Contrast checker → · Palette generator →

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