#8A2E56#8A2E56

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

Color values

HEX#8A2E56
RGBrgb(138, 46, 86)
HSLhsl(334, 50%, 36%)
HSVhsv(334, 67%, 54%)
CMYKcmyk(0%, 66.7%, 37.7%, 45.9%)
CIE-LABlab(34.05, 42.81, -2.92)
CIE-LCHlch(34.05, 42.91, 356.10°)
OKLaboklab(44.86% 0.1309 -0.0071)
OKLCHoklch(44.86% 0.131 356.9)
XYZxyz(13.1387, 8.0306, 9.6604)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E56 #2E8A62
analogous
#8A2E84 #8A2E56 #8A342E
triadic
#8A2E56 #568A2E #2E568A
tetradic
#8A2E56 #848A2E #2E8A62 #342E8A
square
#8A2E56 #848A2E #2E8A62 #342E8A
split-complementary
#8A2E56 #2E8A34 #2E848A
monochromatic
#2E0F1D #5C1F39 #8A2E56 #B83D73 #CC6693

Accessibility & contrast

On white

8.06
#8A2E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8A2E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2E56
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E56#FFFFFF#000000##FFFFFF
##8A2E561.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4557
Deuteranopia (green-blind)
#575654
Tritanopia (blue-blind)
#95263E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2e56;
/* rgb */ color: rgb(138, 46, 86);
/* oklch */ color: oklch(44.9% 0.131 356.9);
Tailwind
colors: {
  custom: {
    50: '#b06d85',
    500: '#8a2e56',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e56;
$custom-light: #b06d85;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e56",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 333.913,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4486,
    "c": 0.13108,
    "h": 356.9
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#8A2E56
secondary
#61B38F
accent
#DA9D4E
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2E56

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

Preview Lab → · Contrast checker → · Palette generator →

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