#8A2072#8A2072

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

Color values

HEX#8A2072
RGBrgb(138, 32, 114)
HSLhsl(314, 62%, 33%)
HSVhsv(314, 77%, 54%)
CMYKcmyk(0%, 76.8%, 17.4%, 45.9%)
CIE-LABlab(33.25, 52.00, -22.05)
CIE-LCHlch(33.25, 56.48, 337.02°)
OKLaboklab(44.65% 0.1545 -0.0597)
OKLCHoklch(44.65% 0.166 338.9)
XYZxyz(14.0354, 7.6526, 16.6542)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2072 #208A38
analogous
#6D208A #8A2072 #8A203D
triadic
#8A2072 #728A20 #20728A
tetradic
#8A2072 #8A6D20 #208A38 #203D8A
square
#8A2072 #8A6D20 #208A38 #203D8A
split-complementary
#8A2072 #3D8A20 #208A6D
monochromatic
#270920 #581449 #8A2072 #BC2C9B #D64EB7

Accessibility & contrast

On white

8.30
#8A2072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2072
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2072#FFFFFF#000000##FFFFFF
##8A20721.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2072;
/* rgb */ color: rgb(138, 32, 114);
/* oklch */ color: oklch(44.7% 0.166 338.9);
Tailwind
colors: {
  custom: {
    50: '#b0679b',
    500: '#8a2072',
    950: '#000000',
  },
}
SCSS
$custom: #8a2072;
$custom-light: #b0679b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2072",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 313.585,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44651,
    "c": 0.16561,
    "h": 338.9
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#8A2072
secondary
#4DB965
accent
#E56742
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2072

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

Preview Lab → · Contrast checker → · Palette generator →

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