#8A2A5E#8A2A5E

#8A2A5E is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.7% C 0.141 H 350.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8A2A5E
RGBrgb(138, 42, 94)
HSLhsl(328, 53%, 35%)
HSVhsv(328, 70%, 54%)
CMYKcmyk(0%, 69.6%, 31.9%, 45.9%)
CIE-LABlab(33.71, 45.52, -8.57)
CIE-LCHlch(33.71, 46.32, 349.34°)
OKLaboklab(44.7% 0.1388 -0.0222)
OKLCHoklch(44.7% 0.141 350.9)
XYZxyz(13.3303, 7.8688, 11.4043)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2A5E #2A8A56
analogous
#862A8A #8A2A5E #8A2A2E
triadic
#8A2A5E #5E8A2A #2A5E8A
tetradic
#8A2A5E #8A862A #2A8A56 #2A2E8A
square
#8A2A5E #8A862A #2A8A56 #2A2E8A
split-complementary
#8A2A5E #2E8A2A #2A8A86
monochromatic
#2C0D1E #5B1C3E #8A2A5E #B9387E #CF609C

Accessibility & contrast

On white

8.16
#8A2A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8A2A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2A5E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2A5E#FFFFFF#000000##FFFFFF
##8A2A5E1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38445F
Deuteranopia (green-blind)
#54565C
Tritanopia (blue-blind)
#942540
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2a5e;
/* rgb */ color: rgb(138, 42, 94);
/* oklch */ color: oklch(44.7% 0.141 350.9);
Tailwind
colors: {
  custom: {
    50: '#b06b8b',
    500: '#8a2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2a5e;
$custom-light: #b06b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2a5e",
  "rgb": {
    "r": 138,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 327.5,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44704,
    "c": 0.14056,
    "h": 350.9
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#8A2A5E
secondary
#5BB484
accent
#DD8E4B
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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