#8A2566#8A2566

#8A2566 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.5% C 0.152 H 345.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8A2566
RGBrgb(138, 37, 102)
HSLhsl(321, 58%, 34%)
HSVhsv(321, 73%, 54%)
CMYKcmyk(0%, 73.2%, 26.1%, 45.9%)
CIE-LABlab(33.32, 48.55, -14.29)
CIE-LCHlch(33.32, 50.61, 343.60°)
OKLaboklab(44.53% 0.147 -0.0379)
OKLCHoklch(44.53% 0.152 345.5)
XYZxyz(13.5416, 7.6872, 13.3384)
Luminance0.0769 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2566 #258A49
analogous
#7C258A #8A2566 #8A2534
triadic
#8A2566 #668A25 #25668A
tetradic
#8A2566 #8A7C25 #258A49 #25348A
square
#8A2566 #8A7C25 #258A49 #25348A
split-complementary
#8A2566 #348A25 #258A7C
monochromatic
#290B1F #5A1842 #8A2566 #BA328A #D257A6

Accessibility & contrast

On white

8.28
#8A2566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8A2566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2566
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2566#FFFFFF#000000##FFFFFF
##8A25661.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314368
Deuteranopia (green-blind)
#4F5564
Tritanopia (blue-blind)
#932342
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8a2566;
/* rgb */ color: rgb(138, 37, 102);
/* oklch */ color: oklch(44.5% 0.152 345.5);
Tailwind
colors: {
  custom: {
    50: '#b06991',
    500: '#8a2566',
    950: '#000000',
  },
}
SCSS
$custom: #8a2566;
$custom-light: #b06991;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2566",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 102
  },
  "hsl": {
    "h": 321.386,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44526,
    "c": 0.15178,
    "h": 345.5
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#8A2566
secondary
#54B777
accent
#E17E47
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11070D
muted
#807A7D

Preview Lab

Preview with #8A2566

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

Preview Lab → · Contrast checker → · Palette generator →

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