#8A2E5E#8A2E5E

#8A2E5E is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.135 H 351.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8A2E5E
RGBrgb(138, 46, 94)
HSLhsl(329, 50%, 36%)
HSVhsv(329, 67%, 54%)
CMYKcmyk(0%, 66.7%, 31.9%, 45.9%)
CIE-LABlab(34.33, 43.81, -7.64)
CIE-LCHlch(34.33, 44.47, 350.11°)
OKLaboklab(45.16% 0.1335 -0.0197)
OKLCHoklch(45.16% 0.135 351.6)
XYZxyz(13.4793, 8.1669, 11.4540)
Luminance0.0817 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E5E #2E8A5A
analogous
#882E8A #8A2E5E #8A2E30
triadic
#8A2E5E #5E8A2E #2E5E8A
tetradic
#8A2E5E #8A882E #2E8A5A #2E308A
square
#8A2E5E #8A882E #2E8A5A #2E308A
split-complementary
#8A2E5E #308A2E #2E8A88
monochromatic
#2E0F1F #5C1F3F #8A2E5E #B83D7D #CC669B

Accessibility & contrast

On white

7.98
#8A2E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8A2E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E5E
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E5E#FFFFFF#000000##FFFFFF
##8A2E5E1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465F
Deuteranopia (green-blind)
#55575C
Tritanopia (blue-blind)
#942942
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2e5e;
/* rgb */ color: rgb(138, 46, 94);
/* oklch */ color: oklch(45.2% 0.135 351.6);
Tailwind
colors: {
  custom: {
    50: '#b06d8b',
    500: '#8a2e5e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e5e;
$custom-light: #b06d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e5e",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 328.696,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.13492,
    "h": 351.6
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#8A2E5E
secondary
#61B388
accent
#DA914E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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