#8A2D73#8A2D73

#8A2D73 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.150 H 339.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8A2D73
RGBrgb(138, 45, 115)
HSLhsl(315, 51%, 36%)
HSVhsv(315, 67%, 54%)
CMYKcmyk(0%, 67.4%, 16.7%, 45.9%)
CIE-LABlab(35.04, 47.25, -19.89)
CIE-LCHlch(35.04, 51.27, 337.17°)
OKLaboklab(45.97% 0.1399 -0.0537)
OKLCHoklch(45.97% 0.15 339)
XYZxyz(14.5144, 8.5191, 17.0963)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D73 #2D8A44
analogous
#722D8A #8A2D73 #8A2D44
triadic
#8A2D73 #738A2D #2D738A
tetradic
#8A2D73 #8A722D #2D8A44 #2D448A
square
#8A2D73 #8A722D #2D8A44 #2D448A
split-complementary
#8A2D73 #448A2D #2D8A72
monochromatic
#2E0F26 #5C1E4D #8A2D73 #B83C99 #CD65B3

Accessibility & contrast

On white

7.77
#8A2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8A2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2D73
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2D73#FFFFFF#000000##FFFFFF
##8A2D731.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314975
Deuteranopia (green-blind)
#4E5871
Tritanopia (blue-blind)
#92304C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2d73;
/* rgb */ color: rgb(138, 45, 115);
/* oklch */ color: oklch(46.0% 0.150 339.0);
Tailwind
colors: {
  custom: {
    50: '#af6d9b',
    500: '#8a2d73',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d73;
$custom-light: #af6d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d73",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 314.839,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.14982,
    "h": 339
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#8A2D73
secondary
#60B374
accent
#DA704D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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