#8A2476#8A2476

#8A2476 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.164 H 337.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8A2476
RGBrgb(138, 36, 118)
HSLhsl(312, 59%, 34%)
HSVhsv(312, 74%, 54%)
CMYKcmyk(0%, 73.9%, 14.5%, 45.9%)
CIE-LABlab(33.93, 51.23, -23.51)
CIE-LCHlch(33.93, 56.37, 335.35°)
OKLaboklab(45.21% 0.1508 -0.0639)
OKLCHoklch(45.21% 0.164 337)
XYZxyz(14.3824, 7.9743, 17.9178)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2476 #248A38
analogous
#6B248A #8A2476 #8A2443
triadic
#8A2476 #768A24 #24768A
tetradic
#8A2476 #8A6B24 #248A38 #24438A
square
#8A2476 #8A6B24 #248A38 #24438A
split-complementary
#8A2476 #438A24 #248A6B
monochromatic
#290B23 #59174C #8A2476 #BB31A0 #D356BA

Accessibility & contrast

On white

8.09
#8A2476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8A2476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2476
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2476#FFFFFF#000000##FFFFFF
##8A24761.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274678
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#922A4A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2476;
/* rgb */ color: rgb(138, 36, 118);
/* oklch */ color: oklch(45.2% 0.164 337.0);
Tailwind
colors: {
  custom: {
    50: '#af699d',
    500: '#8a2476',
    950: '#000000',
  },
}
SCSS
$custom: #8a2476;
$custom-light: #af699d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2476",
  "rgb": {
    "r": 138,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 311.765,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45208,
    "c": 0.16382,
    "h": 337
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#8A2476
secondary
#53B766
accent
#E26546
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2476

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

Preview Lab → · Contrast checker → · Palette generator →

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