#8A2062#8A2062

#8A2062 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.155 H 347.3°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#8A2062
RGBrgb(138, 32, 98)
HSLhsl(323, 62%, 33%)
HSVhsv(323, 77%, 54%)
CMYKcmyk(0%, 76.8%, 29%, 45.9%)
CIE-LABlab(32.52, 49.80, -12.94)
CIE-LCHlch(32.52, 51.45, 345.43°)
OKLaboklab(43.89% 0.1516 -0.0342)
OKLCHoklch(43.89% 0.155 347.3)
XYZxyz(13.2030, 7.3196, 12.2704)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2062 #208A48
analogous
#7D208A #8A2062 #8A202D
triadic
#8A2062 #628A20 #20628A
tetradic
#8A2062 #8A7D20 #208A48 #202D8A
square
#8A2062 #8A7D20 #208A48 #202D8A
split-complementary
#8A2062 #2D8A20 #208A7D
monochromatic
#27091B #58143F #8A2062 #BC2C85 #D64EA3

Accessibility & contrast

On white

8.52
#8A2062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#8A2062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2062
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2062#FFFFFF#000000##FFFFFF
##8A20621.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4164
Deuteranopia (green-blind)
#4F5360
Tritanopia (blue-blind)
#941C3E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8a2062;
/* rgb */ color: rgb(138, 32, 98);
/* oklch */ color: oklch(43.9% 0.155 347.3);
Tailwind
colors: {
  custom: {
    50: '#b0678e',
    500: '#8a2062',
    950: '#000000',
  },
}
SCSS
$custom: #8a2062;
$custom-light: #b0678e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2062",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 322.642,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43889,
    "c": 0.15536,
    "h": 347.3
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#8A2062
secondary
#4DB976
accent
#E58042
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #8A2062

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

Preview Lab → · Contrast checker → · Palette generator →

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