#8A2B52#8A2B52

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

Color values

HEX#8A2B52
RGBrgb(138, 43, 82)
HSLhsl(335, 52%, 35%)
HSVhsv(335, 69%, 54%)
CMYKcmyk(0%, 68.8%, 40.6%, 45.9%)
CIE-LABlab(33.44, 43.65, -1.22)
CIE-LCHlch(33.44, 43.66, 358.39°)
OKLaboklab(44.37% 0.1336 -0.0027)
OKLCHoklch(44.37% 0.134 358.9)
XYZxyz(12.8689, 7.7418, 8.7976)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B52 #2B8A63
analogous
#8A2B81 #8A2B52 #8A332B
triadic
#8A2B52 #528A2B #2B528A
tetradic
#8A2B52 #818A2B #2B8A63 #332B8A
square
#8A2B52 #818A2B #2B8A63 #332B8A
split-complementary
#8A2B52 #2B8A33 #2B818A
monochromatic
#2D0E1B #5B1C36 #8A2B52 #B93A6E #CE618E

Accessibility & contrast

On white

8.24
#8A2B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2B52
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B52#FFFFFF#000000##FFFFFF
##8A2B521.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4353
Deuteranopia (green-blind)
#575550
Tritanopia (blue-blind)
#95213B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a2b52;
/* rgb */ color: rgb(138, 43, 82);
/* oklch */ color: oklch(44.4% 0.134 358.9);
Tailwind
colors: {
  custom: {
    50: '#b06b82',
    500: '#8a2b52',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b52;
$custom-light: #b06b82;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b52",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 335.368,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.13365,
    "h": 358.9
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#8A2B52
secondary
#5DB490
accent
#DCA14C
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8A2B52

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

Preview Lab → · Contrast checker → · Palette generator →

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