#8B2A6E#8B2A6E

#8B2A6E is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.151 H 341.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8B2A6E
RGBrgb(139, 42, 110)
HSLhsl(318, 54%, 35%)
HSVhsv(318, 70%, 55%)
CMYKcmyk(0%, 69.8%, 20.9%, 45.5%)
CIE-LABlab(34.54, 48.01, -17.49)
CIE-LCHlch(34.54, 51.10, 339.98°)
OKLaboklab(45.57% 0.1437 -0.0469)
OKLCHoklch(45.57% 0.151 341.9)
XYZxyz(14.2903, 8.2721, 15.5929)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2A6E #2A8B47
analogous
#772A8B #8B2A6E #8B2A3D
triadic
#8B2A6E #6E8B2A #2A6E8B
tetradic
#8B2A6E #8B772A #2A8B47 #2A3D8B
square
#8B2A6E #8B772A #2A8B47 #2A3D8B
split-complementary
#8B2A6E #3D8B2A #2A8B77
monochromatic
#2D0E24 #5C1C49 #8B2A6E #BA3893 #CF60AE

Accessibility & contrast

On white

7.91
#8B2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2A6E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2A6E#FFFFFF#000000##FFFFFF
##8B2A6E1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324770
Deuteranopia (green-blind)
#50576C
Tritanopia (blue-blind)
#942B48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2a6e;
/* rgb */ color: rgb(139, 42, 110);
/* oklch */ color: oklch(45.6% 0.151 341.9);
Tailwind
colors: {
  custom: {
    50: '#b06c97',
    500: '#8b2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #8b2a6e;
$custom-light: #b06c97;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2a6e",
  "rgb": {
    "r": 139,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 317.938,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45565,
    "c": 0.15118,
    "h": 341.9
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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