#8A2B54#8A2B54

#8A2B54 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.4% C 0.134 H 357.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8A2B54
RGBrgb(138, 43, 84)
HSLhsl(334, 52%, 35%)
HSVhsv(334, 69%, 54%)
CMYKcmyk(0%, 68.8%, 39.1%, 45.9%)
CIE-LABlab(33.50, 43.88, -2.42)
CIE-LCHlch(33.50, 43.94, 356.84°)
OKLaboklab(44.44% 0.1343 -0.0058)
OKLCHoklch(44.44% 0.134 357.5)
XYZxyz(12.9462, 7.7726, 9.2043)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B54 #2B8A61
analogous
#8A2B83 #8A2B54 #8A312B
triadic
#8A2B54 #548A2B #2B548A
tetradic
#8A2B54 #838A2B #2B8A61 #312B8A
square
#8A2B54 #838A2B #2B8A61 #312B8A
split-complementary
#8A2B54 #2B8A31 #2B838A
monochromatic
#2D0E1B #5B1C38 #8A2B54 #B93A70 #CE6190

Accessibility & contrast

On white

8.22
#8A2B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8A2B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B54
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B54#FFFFFF#000000##FFFFFF
##8A2B541.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4355
Deuteranopia (green-blind)
#565552
Tritanopia (blue-blind)
#95223C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2b54;
/* rgb */ color: rgb(138, 43, 84);
/* oklch */ color: oklch(44.4% 0.134 357.5);
Tailwind
colors: {
  custom: {
    50: '#b06b84',
    500: '#8a2b54',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b54;
$custom-light: #b06b84;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b54",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 84
  },
  "hsl": {
    "h": 334.105,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44437,
    "c": 0.13444,
    "h": 357.5
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#8A2B54
secondary
#5DB48E
accent
#DC9E4C
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2B54

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

Preview Lab → · Contrast checker → · Palette generator →

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