#8B2A6D#8B2A6D

#8B2A6D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.150 H 342.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8B2A6D
RGBrgb(139, 42, 109)
HSLhsl(319, 54%, 35%)
HSVhsv(319, 70%, 55%)
CMYKcmyk(0%, 69.8%, 21.6%, 45.5%)
CIE-LABlab(34.50, 47.87, -16.93)
CIE-LCHlch(34.50, 50.77, 340.52°)
OKLaboklab(45.52% 0.1435 -0.0453)
OKLCHoklch(45.52% 0.151 342.5)
XYZxyz(14.2362, 8.2504, 15.3078)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A6D #2A8B48
analogous
#782A8B #8B2A6D #8B2A3C
triadic
#8B2A6D #6D8B2A #2A6D8B
tetradic
#8B2A6D #8B782A #2A8B48 #2A3C8B
square
#8B2A6D #8B782A #2A8B48 #2A3C8B
split-complementary
#8B2A6D #3C8B2A #2A8B78
monochromatic
#2D0E23 #5C1C48 #8B2A6D #BA3892 #CF60AD

Accessibility & contrast

On white

7.93
#8B2A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8B2A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A6D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A6D#FFFFFF#000000##FFFFFF
##8B2A6D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32476F
Deuteranopia (green-blind)
#50576B
Tritanopia (blue-blind)
#942B47
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2a6d;
/* rgb */ color: rgb(139, 42, 109);
/* oklch */ color: oklch(45.5% 0.150 342.5);
Tailwind
colors: {
  custom: {
    50: '#b06c97',
    500: '#8b2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a6d;
$custom-light: #b06c97;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a6d",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 318.557,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45518,
    "c": 0.1505,
    "h": 342.5
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#8B2A6D
secondary
#5CB577
accent
#DD784B
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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