#8A2576#8A2576

#8A2576 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.163 H 337.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8A2576
RGBrgb(138, 37, 118)
HSLhsl(312, 58%, 34%)
HSVhsv(312, 73%, 54%)
CMYKcmyk(0%, 73.2%, 14.5%, 45.9%)
CIE-LABlab(34.06, 50.87, -23.31)
CIE-LCHlch(34.06, 55.96, 335.38°)
OKLaboklab(45.3% 0.1498 -0.0634)
OKLCHoklch(45.3% 0.163 337.1)
XYZxyz(14.4131, 8.0357, 17.9280)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2576 #258A39
analogous
#6C258A #8A2576 #8A2544
triadic
#8A2576 #768A25 #25768A
tetradic
#8A2576 #8A6C25 #258A39 #25448A
square
#8A2576 #8A6C25 #258A39 #25448A
split-complementary
#8A2576 #448A25 #258A6C
monochromatic
#290B23 #5A184D #8A2576 #BA329F #D257BA

Accessibility & contrast

On white

8.06
#8A2576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2576
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2576#FFFFFF#000000##FFFFFF
##8A25761.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#4A5674
Tritanopia (blue-blind)
#912B4A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2576;
/* rgb */ color: rgb(138, 37, 118);
/* oklch */ color: oklch(45.3% 0.163 337.1);
Tailwind
colors: {
  custom: {
    50: '#af6a9d',
    500: '#8a2576',
    950: '#000000',
  },
}
SCSS
$custom: #8a2576;
$custom-light: #af6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2576",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 311.881,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.453,
    "c": 0.16261,
    "h": 337.1
  },
  "luminance": 0.08034
}

Semantic roles & 50–950 ramp

primary
#8A2576
secondary
#54B768
accent
#E16547
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2576

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

Preview Lab → · Contrast checker → · Palette generator →

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