#8A2170#8A2170

#8A2170 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.163 H 339.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8A2170
RGBrgb(138, 33, 112)
HSLhsl(315, 61%, 34%)
HSVhsv(315, 76%, 54%)
CMYKcmyk(0%, 76.1%, 18.8%, 45.9%)
CIE-LABlab(33.27, 51.38, -20.75)
CIE-LCHlch(33.27, 55.41, 338.01°)
OKLaboklab(44.64% 0.1532 -0.056)
OKLCHoklch(44.64% 0.163 339.9)
XYZxyz(13.9501, 7.6622, 16.0704)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2170 #218A3B
analogous
#6F218A #8A2170 #8A213B
triadic
#8A2170 #708A21 #21708A
tetradic
#8A2170 #8A6F21 #218A3B #213B8A
square
#8A2170 #8A6F21 #218A3B #213B8A
split-complementary
#8A2170 #3B8A21 #218A6F
monochromatic
#270920 #591548 #8A2170 #BB2D98 #D550B4

Accessibility & contrast

On white

8.29
#8A2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8A2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2170
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2170#FFFFFF#000000##FFFFFF
##8A21701.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284472
Deuteranopia (green-blind)
#4B546E
Tritanopia (blue-blind)
#922546
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2170;
/* rgb */ color: rgb(138, 33, 112);
/* oklch */ color: oklch(44.6% 0.163 339.9);
Tailwind
colors: {
  custom: {
    50: '#b06899',
    500: '#8a2170',
    950: '#000000',
  },
}
SCSS
$custom: #8a2170;
$custom-light: #b06899;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2170",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 314.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44635,
    "c": 0.1631,
    "h": 339.9
  },
  "luminance": 0.07661
}

Semantic roles & 50–950 ramp

primary
#8A2170
secondary
#4EB969
accent
#E56B43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2170

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

Preview Lab → · Contrast checker → · Palette generator →

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