#8A2071#8A2071

#8A2071 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.6% C 0.165 H 339.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8A2071
RGBrgb(138, 32, 113)
HSLhsl(314, 62%, 33%)
HSVhsv(314, 77%, 54%)
CMYKcmyk(0%, 76.8%, 18.1%, 45.9%)
CIE-LABlab(33.20, 51.86, -21.49)
CIE-LCHlch(33.20, 56.13, 337.49°)
OKLaboklab(44.6% 0.1543 -0.0581)
OKLCHoklch(44.6% 0.165 339.4)
XYZxyz(13.9787, 7.6299, 16.3561)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2071 #208A39
analogous
#6E208A #8A2071 #8A203C
triadic
#8A2071 #718A20 #20718A
tetradic
#8A2071 #8A6E20 #208A39 #203C8A
square
#8A2071 #8A6E20 #208A39 #203C8A
split-complementary
#8A2071 #3C8A20 #208A6E
monochromatic
#270920 #581448 #8A2071 #BC2C9A #D64EB6

Accessibility & contrast

On white

8.31
#8A2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2071
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2071#FFFFFF#000000##FFFFFF
##8A20711.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274373
Deuteranopia (green-blind)
#4A546F
Tritanopia (blue-blind)
#922446
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2071;
/* rgb */ color: rgb(138, 32, 113);
/* oklch */ color: oklch(44.6% 0.165 339.4);
Tailwind
colors: {
  custom: {
    50: '#b0679a',
    500: '#8a2071',
    950: '#000000',
  },
}
SCSS
$custom: #8a2071;
$custom-light: #b0679a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2071",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 314.151,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.446,
    "c": 0.16491,
    "h": 339.4
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#8A2071
secondary
#4DB966
accent
#E56942
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2071

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

Preview Lab → · Contrast checker → · Palette generator →

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