#8A2B5D#8A2B5D

#8A2B5D is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.8% C 0.139 H 351.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8A2B5D
RGBrgb(138, 43, 93)
HSLhsl(328, 52%, 35%)
HSVhsv(328, 69%, 54%)
CMYKcmyk(0%, 68.8%, 32.6%, 45.9%)
CIE-LABlab(33.82, 44.97, -7.76)
CIE-LCHlch(33.82, 45.64, 350.21°)
OKLaboklab(44.78% 0.1372 -0.02)
OKLCHoklch(44.78% 0.139 351.7)
XYZxyz(13.3216, 7.9228, 11.1815)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2B5D #2B8A58
analogous
#872B8A #8A2B5D #8A2B2D
triadic
#8A2B5D #5D8A2B #2B5D8A
tetradic
#8A2B5D #8A872B #2B8A58 #2B2D8A
square
#8A2B5D #8A872B #2B8A58 #2B2D8A
split-complementary
#8A2B5D #2D8A2B #2B8A87
monochromatic
#2D0E1E #5B1C3E #8A2B5D #B93A7C #CE619B

Accessibility & contrast

On white

8.13
#8A2B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8A2B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2B5D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2B5D#FFFFFF#000000##FFFFFF
##8A2B5D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A455E
Deuteranopia (green-blind)
#54565B
Tritanopia (blue-blind)
#942540
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a2b5d;
/* rgb */ color: rgb(138, 43, 93);
/* oklch */ color: oklch(44.8% 0.139 351.7);
Tailwind
colors: {
  custom: {
    50: '#b06c8a',
    500: '#8a2b5d',
    950: '#000000',
  },
}
SCSS
$custom: #8a2b5d;
$custom-light: #b06c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2b5d",
  "rgb": {
    "r": 138,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 328.421,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44775,
    "c": 0.13865,
    "h": 351.7
  },
  "luminance": 0.07921
}

Semantic roles & 50–950 ramp

primary
#8A2B5D
secondary
#5DB486
accent
#DC904C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8A2B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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