#8A2E54#8A2E54

#8A2E54 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.8% C 0.130 H 358.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8A2E54
RGBrgb(138, 46, 84)
HSLhsl(335, 50%, 36%)
HSVhsv(335, 67%, 54%)
CMYKcmyk(0%, 66.7%, 39.1%, 45.9%)
CIE-LABlab(33.98, 42.57, -1.72)
CIE-LCHlch(33.98, 42.61, 357.68°)
OKLaboklab(44.79% 0.1302 -0.004)
OKLCHoklch(44.79% 0.13 358.2)
XYZxyz(13.0593, 7.9989, 9.2420)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2E54 #2E8A64
analogous
#8A2E82 #8A2E54 #8A362E
triadic
#8A2E54 #548A2E #2E548A
tetradic
#8A2E54 #828A2E #2E8A64 #362E8A
square
#8A2E54 #828A2E #2E8A64 #362E8A
split-complementary
#8A2E54 #2E8A36 #2E828A
monochromatic
#2E0F1C #5C1F38 #8A2E54 #B83D70 #CC6690

Accessibility & contrast

On white

8.08
#8A2E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2E54
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2E54#FFFFFF#000000##FFFFFF
##8A2E541.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4555
Deuteranopia (green-blind)
#585652
Tritanopia (blue-blind)
#95253D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2e54;
/* rgb */ color: rgb(138, 46, 84);
/* oklch */ color: oklch(44.8% 0.130 358.2);
Tailwind
colors: {
  custom: {
    50: '#b06d84',
    500: '#8a2e54',
    950: '#000000',
  },
}
SCSS
$custom: #8a2e54;
$custom-light: #b06d84;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2e54",
  "rgb": {
    "r": 138,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 335.217,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44789,
    "c": 0.13026,
    "h": 358.2
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#8A2E54
secondary
#61B391
accent
#DAA04E
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2E54

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

Preview Lab → · Contrast checker → · Palette generator →

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