#8A2073#8A2073

#8A2073 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.166 H 338.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8A2073
RGBrgb(138, 32, 115)
HSLhsl(313, 62%, 33%)
HSVhsv(313, 77%, 54%)
CMYKcmyk(0%, 76.8%, 16.7%, 45.9%)
CIE-LABlab(33.30, 52.15, -22.60)
CIE-LCHlch(33.30, 56.84, 336.56°)
OKLaboklab(44.7% 0.1546 -0.0613)
OKLCHoklch(44.7% 0.166 338.4)
XYZxyz(14.0926, 7.6755, 16.9557)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2073 #208A37
analogous
#6C208A #8A2073 #8A203E
triadic
#8A2073 #738A20 #20738A
tetradic
#8A2073 #8A6C20 #208A37 #203E8A
square
#8A2073 #8A6C20 #208A37 #203E8A
split-complementary
#8A2073 #3E8A20 #208A6C
monochromatic
#270920 #58144A #8A2073 #BC2C9C #D64EB9

Accessibility & contrast

On white

8.28
#8A2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2073
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2073#FFFFFF#000000##FFFFFF
##8A20731.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254475
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#922547
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2073;
/* rgb */ color: rgb(138, 32, 115);
/* oklch */ color: oklch(44.7% 0.166 338.4);
Tailwind
colors: {
  custom: {
    50: '#b0679b',
    500: '#8a2073',
    950: '#000000',
  },
}
SCSS
$custom: #8a2073;
$custom-light: #b0679b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2073",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 313.019,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44703,
    "c": 0.16629,
    "h": 338.4
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#8A2073
secondary
#4DB964
accent
#E56642
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2073

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

Preview Lab → · Contrast checker → · Palette generator →

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