#8A2573#8A2573

#8A2573 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.160 H 338.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#8A2573
RGBrgb(138, 37, 115)
HSLhsl(314, 58%, 34%)
HSVhsv(314, 73%, 54%)
CMYKcmyk(0%, 73.2%, 16.7%, 45.9%)
CIE-LABlab(33.91, 50.41, -21.65)
CIE-LCHlch(33.91, 54.86, 336.76°)
OKLaboklab(45.15% 0.1494 -0.0586)
OKLCHoklch(45.15% 0.16 338.6)
XYZxyz(14.2376, 7.9655, 17.0040)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2573 #258A3C
analogous
#6F258A #8A2573 #8A2541
triadic
#8A2573 #738A25 #25738A
tetradic
#8A2573 #8A6F25 #258A3C #25418A
square
#8A2573 #8A6F25 #258A3C #25418A
split-complementary
#8A2573 #418A25 #258A6F
monochromatic
#290B23 #5A184B #8A2573 #BA329B #D257B6

Accessibility & contrast

On white

8.10
#8A2573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2573
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2573#FFFFFF#000000##FFFFFF
##8A25731.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#4B5571
Tritanopia (blue-blind)
#922949
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2573;
/* rgb */ color: rgb(138, 37, 115);
/* oklch */ color: oklch(45.1% 0.160 338.6);
Tailwind
colors: {
  custom: {
    50: '#af699b',
    500: '#8a2573',
    950: '#000000',
  },
}
SCSS
$custom: #8a2573;
$custom-light: #af699b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2573",
  "rgb": {
    "r": 138,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 313.663,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45146,
    "c": 0.16045,
    "h": 338.6
  },
  "luminance": 0.07964
}

Semantic roles & 50–950 ramp

primary
#8A2573
secondary
#54B76B
accent
#E16A47
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2573

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

Preview Lab → · Contrast checker → · Palette generator →

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