#8A2B73#8A2B73

#8A2B73 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.153 H 338.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8A2B73
RGBrgb(138, 43, 115)
HSLhsl(315, 52%, 35%)
HSVhsv(315, 69%, 54%)
CMYKcmyk(0%, 68.8%, 16.7%, 45.9%)
CIE-LABlab(34.74, 48.08, -20.36)
CIE-LCHlch(34.74, 52.21, 337.05°)
OKLaboklab(45.75% 0.1424 -0.055)
OKLCHoklch(45.75% 0.153 338.9)
XYZxyz(14.4399, 8.3701, 17.0714)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B73 #2B8A42
analogous
#712B8A #8A2B73 #8A2B44
triadic
#8A2B73 #738A2B #2B738A
tetradic
#8A2B73 #8A712B #2B8A42 #2B448A
square
#8A2B73 #8A712B #2B8A42 #2B448A
split-complementary
#8A2B73 #448A2B #2B8A71
monochromatic
#2D0E25 #5B1C4C #8A2B73 #B93A9A #CE61B4

Accessibility & contrast

On white

7.85
#8A2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8A2B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B73
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B73#FFFFFF#000000##FFFFFF
##8A2B731.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#922E4B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8a2b73;
/* rgb */ color: rgb(138, 43, 115);
/* oklch */ color: oklch(45.8% 0.153 338.9);
Tailwind
colors: {
  custom: {
    50: '#af6c9b',
    500: '#8a2b73',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b73;
$custom-light: #af6c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b73",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 314.526,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45751,
    "c": 0.15261,
    "h": 338.9
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#8A2B73
secondary
#5DB472
accent
#DC6F4C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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