#8A2C5E#8A2C5E

#8A2C5E is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.9% C 0.138 H 351.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8A2C5E
RGBrgb(138, 44, 94)
HSLhsl(328, 52%, 36%)
HSVhsv(328, 68%, 54%)
CMYKcmyk(0%, 68.1%, 31.9%, 45.9%)
CIE-LABlab(34.01, 44.68, -8.11)
CIE-LCHlch(34.01, 45.41, 349.71°)
OKLaboklab(44.93% 0.1362 -0.021)
OKLCHoklch(44.93% 0.138 351.2)
XYZxyz(13.4030, 8.0142, 11.4286)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2C5E #2C8A58
analogous
#872C8A #8A2C5E #8A2C2F
triadic
#8A2C5E #5E8A2C #2C5E8A
tetradic
#8A2C5E #8A872C #2C8A58 #2C2F8A
square
#8A2C5E #8A872C #2C8A58 #2C2F8A
split-complementary
#8A2C5E #2F8A2C #2C8A87
monochromatic
#2D0E1F #5C1D3E #8A2C5E #B83B7E #CD639C

Accessibility & contrast

On white

8.07
#8A2C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8A2C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2C5E
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2C5E#FFFFFF#000000##FFFFFF
##8A2C5E1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A455F
Deuteranopia (green-blind)
#54565C
Tritanopia (blue-blind)
#942741
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2c5e;
/* rgb */ color: rgb(138, 44, 94);
/* oklch */ color: oklch(44.9% 0.138 351.2);
Tailwind
colors: {
  custom: {
    50: '#b06c8b',
    500: '#8a2c5e',
    950: '#000000',
  },
}
SCSS
$custom: #8a2c5e;
$custom-light: #b06c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2c5e",
  "rgb": {
    "r": 138,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 328.085,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.13778,
    "h": 351.2
  },
  "luminance": 0.08013
}

Semantic roles & 50–950 ramp

primary
#8A2C5E
secondary
#5EB486
accent
#DB8F4D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #8A2C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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