#8A2051#8A2051

#8A2051 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.2% C 0.147 H 357.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#8A2051
RGBrgb(138, 32, 81)
HSLhsl(332, 62%, 33%)
HSVhsv(332, 77%, 54%)
CMYKcmyk(0%, 76.8%, 41.3%, 45.9%)
CIE-LABlab(31.88, 47.78, -2.87)
CIE-LCHlch(31.88, 47.87, 356.56°)
OKLaboklab(43.21% 0.1468 -0.0069)
OKLCHoklch(43.21% 0.147 357.3)
XYZxyz(12.4838, 7.0320, 8.4829)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2051 #208A59
analogous
#8A2086 #8A2051 #8A2420
triadic
#8A2051 #518A20 #20518A
tetradic
#8A2051 #868A20 #208A59 #24208A
square
#8A2051 #868A20 #208A59 #24208A
split-complementary
#8A2051 #208A24 #20868A
monochromatic
#270917 #581434 #8A2051 #BC2C6E #D64E8D

Accessibility & contrast

On white

8.73
#8A2051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8A2051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2051
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2051#FFFFFF#000000##FFFFFF
##8A20511.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363E52
Deuteranopia (green-blind)
#53524F
Tritanopia (blue-blind)
#961135
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8a2051;
/* rgb */ color: rgb(138, 32, 81);
/* oklch */ color: oklch(43.2% 0.147 357.3);
Tailwind
colors: {
  custom: {
    50: '#b16681',
    500: '#8a2051',
    950: '#000000',
  },
}
SCSS
$custom: #8a2051;
$custom-light: #b16681;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2051",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 81
  },
  "hsl": {
    "h": 332.264,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43207,
    "c": 0.14692,
    "h": 357.3
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

primary
#8A2051
secondary
#4DB987
accent
#E59A42
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #8A2051

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

Preview Lab → · Contrast checker → · Palette generator →

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