#8A2E72#8A2E72

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

Color values

HEX#8A2E72
RGBrgb(138, 46, 114)
HSLhsl(316, 50%, 36%)
HSVhsv(316, 67%, 54%)
CMYKcmyk(0%, 66.7%, 17.4%, 45.9%)
CIE-LABlab(35.15, 46.67, -19.10)
CIE-LCHlch(35.15, 50.42, 337.74°)
OKLaboklab(46.03% 0.1384 -0.0515)
OKLCHoklch(46.03% 0.148 339.6)
XYZxyz(14.4958, 8.5735, 16.8077)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E72 #2E8A46
analogous
#742E8A #8A2E72 #8A2E44
triadic
#8A2E72 #728A2E #2E728A
tetradic
#8A2E72 #8A742E #2E8A46 #2E448A
square
#8A2E72 #8A742E #2E8A46 #2E448A
split-complementary
#8A2E72 #448A2E #2E8A74
monochromatic
#2E0F26 #5C1F4C #8A2E72 #B83D98 #CC66B2

Accessibility & contrast

On white

7.74
#8A2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8A2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E72
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E72#FFFFFF#000000##FFFFFF
##8A2E721.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334974
Deuteranopia (green-blind)
#4F5870
Tritanopia (blue-blind)
#92314B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8a2e72;
/* rgb */ color: rgb(138, 46, 114);
/* oklch */ color: oklch(46.0% 0.148 339.6);
Tailwind
colors: {
  custom: {
    50: '#af6e9a',
    500: '#8a2e72',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e72;
$custom-light: #af6e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e72",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 315.652,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46033,
    "c": 0.14766,
    "h": 339.6
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#8A2E72
secondary
#61B376
accent
#DA734E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8A2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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