#8A2177#8A2177

#8A2177 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 45.0% C 0.168 H 336.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8A2177
RGBrgb(138, 33, 119)
HSLhsl(311, 61%, 34%)
HSVhsv(311, 76%, 54%)
CMYKcmyk(0%, 76.1%, 13.8%, 45.9%)
CIE-LABlab(33.61, 52.42, -24.64)
CIE-LCHlch(33.61, 57.92, 334.83°)
OKLaboklab(45% 0.154 -0.0671)
OKLCHoklch(45% 0.168 336.5)
XYZxyz(14.3551, 7.8242, 18.2034)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2177 #218A34
analogous
#68218A #8A2177 #8A2142
triadic
#8A2177 #778A21 #21778A
tetradic
#8A2177 #8A6821 #218A34 #21428A
square
#8A2177 #8A6821 #218A34 #21428A
split-complementary
#8A2177 #428A21 #218A68
monochromatic
#270922 #59154C #8A2177 #BB2DA2 #D550BD

Accessibility & contrast

On white

8.19
#8A2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2177
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2177#FFFFFF#000000##FFFFFF
##8A21771.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234579
Deuteranopia (green-blind)
#485575
Tritanopia (blue-blind)
#91284A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2177;
/* rgb */ color: rgb(138, 33, 119);
/* oklch */ color: oklch(45.0% 0.168 336.5);
Tailwind
colors: {
  custom: {
    50: '#b0689e',
    500: '#8a2177',
    950: '#000000',
  },
}
SCSS
$custom: #8a2177;
$custom-light: #b0689e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2177",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 310.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.16803,
    "h": 336.5
  },
  "luminance": 0.07823
}

Semantic roles & 50–950 ramp

primary
#8A2177
secondary
#4EB961
accent
#E56043
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2177

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

Preview Lab → · Contrast checker → · Palette generator →

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