#8A2D5B#8A2D5B

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

Color values

HEX#8A2D5B
RGBrgb(138, 45, 91)
HSLhsl(330, 51%, 36%)
HSVhsv(330, 67%, 54%)
CMYKcmyk(0%, 67.4%, 34.1%, 45.9%)
CIE-LABlab(34.06, 43.87, -6.12)
CIE-LCHlch(34.06, 44.29, 352.06°)
OKLaboklab(44.93% 0.1339 -0.0156)
OKLCHoklch(44.93% 0.135 353.3)
XYZxyz(13.3087, 8.0368, 10.7459)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2D5B #2D8A5C
analogous
#8A2D89 #8A2D5B #8A2D2D
triadic
#8A2D5B #5B8A2D #2D5B8A
tetradic
#8A2D5B #898A2D #2D8A5C #2D2D8A
square
#8A2D5B #898A2D #2D8A5C #2D2D8A
split-complementary
#8A2D5B #2D8A2D #2D898A
monochromatic
#2E0F1E #5C1E3D #8A2D5B #B83C79 #CD6598

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2D5B#FFFFFF#000000##FFFFFF
##8A2D5B1.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)
#3C455C
Deuteranopia (green-blind)
#565659
Tritanopia (blue-blind)
#952740
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2d5b;
/* rgb */ color: rgb(138, 45, 91);
/* oklch */ color: oklch(44.9% 0.135 353.3);
Tailwind
colors: {
  custom: {
    50: '#b06c89',
    500: '#8a2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #8a2d5b;
$custom-light: #b06c89;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2d5b",
  "rgb": {
    "r": 138,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 330.323,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44926,
    "c": 0.13482,
    "h": 353.3
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#8A2D5B
secondary
#60B38A
accent
#DA954D
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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