#8A2E73#8A2E73

#8A2E73 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.148 H 339.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8A2E73
RGBrgb(138, 46, 115)
HSLhsl(315, 50%, 36%)
HSVhsv(315, 67%, 54%)
CMYKcmyk(0%, 66.7%, 16.7%, 45.9%)
CIE-LABlab(35.20, 46.82, -19.66)
CIE-LCHlch(35.20, 50.78, 337.23°)
OKLaboklab(46.08% 0.1386 -0.0531)
OKLCHoklch(46.08% 0.148 339)
XYZxyz(14.5530, 8.5964, 17.1091)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E73 #2E8A45
analogous
#732E8A #8A2E73 #8A2E45
triadic
#8A2E73 #738A2E #2E738A
tetradic
#8A2E73 #8A732E #2E8A45 #2E458A
square
#8A2E73 #8A732E #2E8A45 #2E458A
split-complementary
#8A2E73 #458A2E #2E8A73
monochromatic
#2E0F26 #5C1F4D #8A2E73 #B83D99 #CC66B3

Accessibility & contrast

On white

7.72
#8A2E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8A2E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E73
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E73#FFFFFF#000000##FFFFFF
##8A2E731.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A75
Deuteranopia (green-blind)
#4F5871
Tritanopia (blue-blind)
#92314C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2e73;
/* rgb */ color: rgb(138, 46, 115);
/* oklch */ color: oklch(46.1% 0.148 339.0);
Tailwind
colors: {
  custom: {
    50: '#af6e9b',
    500: '#8a2e73',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e73;
$custom-light: #af6e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e73",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 315,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46081,
    "c": 0.14839,
    "h": 339
  },
  "luminance": 0.08595
}

Semantic roles & 50–950 ramp

primary
#8A2E73
secondary
#61B375
accent
#DA714E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2E73

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

Preview Lab → · Contrast checker → · Palette generator →

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