#8A2577#8A2577

#8A2577 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.163 H 336.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8A2577
RGBrgb(138, 37, 119)
HSLhsl(311, 58%, 34%)
HSVhsv(311, 73%, 54%)
CMYKcmyk(0%, 73.2%, 13.8%, 45.9%)
CIE-LABlab(34.11, 51.02, -23.87)
CIE-LCHlch(34.11, 56.33, 334.93°)
OKLaboklab(45.35% 0.1499 -0.0649)
OKLCHoklch(45.35% 0.163 336.6)
XYZxyz(14.4728, 8.0596, 18.2426)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2577 #258A38
analogous
#6B258A #8A2577 #8A2545
triadic
#8A2577 #778A25 #25778A
tetradic
#8A2577 #8A6B25 #258A38 #25458A
square
#8A2577 #8A6B25 #258A38 #25458A
split-complementary
#8A2577 #458A25 #258A6B
monochromatic
#290B24 #5A184D #8A2577 #BA32A1 #D257BB

Accessibility & contrast

On white

8.04
#8A2577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2577
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2577#FFFFFF#000000##FFFFFF
##8A25771.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274679
Deuteranopia (green-blind)
#495675
Tritanopia (blue-blind)
#912B4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2577;
/* rgb */ color: rgb(138, 37, 119);
/* oklch */ color: oklch(45.4% 0.163 336.6);
Tailwind
colors: {
  custom: {
    50: '#af6a9e',
    500: '#8a2577',
    950: '#000000',
  },
}
SCSS
$custom: #8a2577;
$custom-light: #af6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2577",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 119
  },
  "hsl": {
    "h": 311.287,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45352,
    "c": 0.16334,
    "h": 336.6
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#8A2577
secondary
#54B767
accent
#E16447
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2577

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

Preview Lab → · Contrast checker → · Palette generator →

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