#8A2E5C#8A2E5C

#8A2E5C is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.134 H 352.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#8A2E5C
RGBrgb(138, 46, 92)
HSLhsl(330, 50%, 36%)
HSVhsv(330, 67%, 54%)
CMYKcmyk(0%, 66.7%, 33.3%, 45.9%)
CIE-LABlab(34.26, 43.55, -6.47)
CIE-LCHlch(34.26, 44.03, 351.56°)
OKLaboklab(45.08% 0.1329 -0.0166)
OKLCHoklch(45.08% 0.134 352.9)
XYZxyz(13.3907, 8.1314, 10.9875)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E5C #2E8A5C
analogous
#8A2E8A #8A2E5C #8A2E2E
triadic
#8A2E5C #5C8A2E #2E5C8A
tetradic
#8A2E5C #8A8A2E #2E8A5C #2E2E8A
square
#8A2E5C #8A8A2E #2E8A5C #2E2E8A
split-complementary
#8A2E5C #2E8A2E #2E8A8A
monochromatic
#2E0F1F #5C1F3D #8A2E5C #B83D7B #CC6699

Accessibility & contrast

On white

8.00
#8A2E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E5C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E5C#FFFFFF#000000##FFFFFF
##8A2E5C1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465D
Deuteranopia (green-blind)
#56575A
Tritanopia (blue-blind)
#942841
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2e5c;
/* rgb */ color: rgb(138, 46, 92);
/* oklch */ color: oklch(45.1% 0.134 352.9);
Tailwind
colors: {
  custom: {
    50: '#b06d8a',
    500: '#8a2e5c',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e5c;
$custom-light: #b06d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e5c",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 330,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45083,
    "c": 0.13388,
    "h": 352.9
  },
  "luminance": 0.0813
}

Semantic roles & 50–950 ramp

primary
#8A2E5C
secondary
#61B38A
accent
#DA944E
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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