#8A2066#8A2066

#8A2066 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.158 H 345.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#8A2066
RGBrgb(138, 32, 102)
HSLhsl(320, 62%, 33%)
HSVhsv(320, 77%, 54%)
CMYKcmyk(0%, 76.8%, 26.1%, 45.9%)
CIE-LABlab(32.69, 50.32, -15.25)
CIE-LCHlch(32.69, 52.58, 343.14°)
OKLaboklab(44.07% 0.1524 -0.0406)
OKLCHoklch(44.07% 0.158 345.1)
XYZxyz(13.3966, 7.3971, 13.2901)
Luminance0.0740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2066 #208A44
analogous
#79208A #8A2066 #8A2031
triadic
#8A2066 #668A20 #20668A
tetradic
#8A2066 #8A7920 #208A44 #20318A
square
#8A2066 #8A7920 #208A44 #20318A
split-complementary
#8A2066 #318A20 #208A79
monochromatic
#27091D #581441 #8A2066 #BC2C8B #D64EA8

Accessibility & contrast

On white

8.47
#8A2066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8A2066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2066
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2066#FFFFFF#000000##FFFFFF
##8A20661.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4168
Deuteranopia (green-blind)
#4E5364
Tritanopia (blue-blind)
#941E40
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8a2066;
/* rgb */ color: rgb(138, 32, 102);
/* oklch */ color: oklch(44.1% 0.158 345.1);
Tailwind
colors: {
  custom: {
    50: '#b06791',
    500: '#8a2066',
    950: '#000000',
  },
}
SCSS
$custom: #8a2066;
$custom-light: #b06791;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2066",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 320.377,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44069,
    "c": 0.15775,
    "h": 345.1
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#8A2066
secondary
#4DB972
accent
#E57A42
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070D
muted
#807A7D

Preview Lab

Preview with #8A2066

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

Preview Lab → · Contrast checker → · Palette generator →

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