#8A2574#8A2574

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

Color values

HEX#8A2574
RGBrgb(138, 37, 116)
HSLhsl(313, 58%, 34%)
HSVhsv(313, 73%, 54%)
CMYKcmyk(0%, 73.2%, 15.9%, 45.9%)
CIE-LABlab(33.96, 50.56, -22.21)
CIE-LCHlch(33.96, 55.22, 336.29°)
OKLaboklab(45.2% 0.1495 -0.0602)
OKLCHoklch(45.2% 0.161 338.1)
XYZxyz(14.2955, 7.9887, 17.3087)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2574 #258A3B
analogous
#6E258A #8A2574 #8A2542
triadic
#8A2574 #748A25 #25748A
tetradic
#8A2574 #8A6E25 #258A3B #25428A
square
#8A2574 #8A6E25 #258A3B #25428A
split-complementary
#8A2574 #428A25 #258A6E
monochromatic
#290B23 #5A184B #8A2574 #BA329D #D257B7

Accessibility & contrast

On white

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

On black

2.60
#8A2574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8A2574#FFFFFF#000000##FFFFFF
##8A25741.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#4B5572
Tritanopia (blue-blind)
#922A49
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2574;
/* rgb */ color: rgb(138, 37, 116);
/* oklch */ color: oklch(45.2% 0.161 338.1);
Tailwind
colors: {
  custom: {
    50: '#af699c',
    500: '#8a2574',
    950: '#000000',
  },
}
SCSS
$custom: #8a2574;
$custom-light: #af699c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2574",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 313.069,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45197,
    "c": 0.16116,
    "h": 338.1
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#8A2574
secondary
#54B76A
accent
#E16847
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2574

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

Preview Lab → · Contrast checker → · Palette generator →

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