#8B2A6A#8B2A6A

#8B2A6A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.4% C 0.149 H 344.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8B2A6A
RGBrgb(139, 42, 106)
HSLhsl(320, 54%, 35%)
HSVhsv(320, 70%, 55%)
CMYKcmyk(0%, 69.8%, 23.7%, 45.5%)
CIE-LABlab(34.37, 47.44, -15.22)
CIE-LCHlch(34.37, 49.82, 342.21°)
OKLaboklab(45.38% 0.1429 -0.0406)
OKLCHoklch(45.38% 0.149 344.2)
XYZxyz(14.0774, 8.1869, 14.4717)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A6A #2A8B4B
analogous
#7B2A8B #8B2A6A #8B2A3A
triadic
#8B2A6A #6A8B2A #2A6A8B
tetradic
#8B2A6A #8B7B2A #2A8B4B #2A3A8B
square
#8B2A6A #8B7B2A #2A8B4B #2A3A8B
split-complementary
#8B2A6A #3A8B2A #2A8B7B
monochromatic
#2D0E22 #5C1C46 #8B2A6A #BA388E #CF60A9

Accessibility & contrast

On white

7.96
#8B2A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8B2A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2A6A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A6A#FFFFFF#000000##FFFFFF
##8B2A6A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34466C
Deuteranopia (green-blind)
#515768
Tritanopia (blue-blind)
#942946
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2a6a;
/* rgb */ color: rgb(139, 42, 106);
/* oklch */ color: oklch(45.4% 0.149 344.2);
Tailwind
colors: {
  custom: {
    50: '#b06c94',
    500: '#8b2a6a',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a6a;
$custom-light: #b06c94;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a6a",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 320.412,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.14852,
    "h": 344.2
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#8B2A6A
secondary
#5CB57A
accent
#DD7D4B
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B2A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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