#8A2578#8A2578

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

Color values

HEX#8A2578
RGBrgb(138, 37, 120)
HSLhsl(311, 58%, 34%)
HSVhsv(311, 73%, 54%)
CMYKcmyk(0%, 73.2%, 13%, 45.9%)
CIE-LABlab(34.16, 51.18, -24.42)
CIE-LCHlch(34.16, 56.70, 334.49°)
OKLaboklab(45.4% 0.15 -0.0665)
OKLCHoklch(45.4% 0.164 336.1)
XYZxyz(14.5332, 8.0838, 18.5606)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2578 #258A37
analogous
#6A258A #8A2578 #8A2546
triadic
#8A2578 #788A25 #25788A
tetradic
#8A2578 #8A6A25 #258A37 #25468A
square
#8A2578 #8A6A25 #258A37 #25468A
split-complementary
#8A2578 #468A25 #258A6A
monochromatic
#290B24 #5A184E #8A2578 #BA32A2 #D257BC

Accessibility & contrast

On white

8.03
#8A2578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A2578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2578
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2578#FFFFFF#000000##FFFFFF
##8A25781.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26477A
Deuteranopia (green-blind)
#495676
Tritanopia (blue-blind)
#912C4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2578;
/* rgb */ color: rgb(138, 37, 120);
/* oklch */ color: oklch(45.4% 0.164 336.1);
Tailwind
colors: {
  custom: {
    50: '#af6a9f',
    500: '#8a2578',
    950: '#000000',
  },
}
SCSS
$custom: #8a2578;
$custom-light: #af6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2578",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 120
  },
  "hsl": {
    "h": 310.693,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.16408,
    "h": 336.1
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#8A2578
secondary
#54B766
accent
#E16247
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2578

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

Preview Lab → · Contrast checker → · Palette generator →

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