#8B2476#8B2476

#8B2476 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.164 H 337.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8B2476
RGBrgb(139, 36, 118)
HSLhsl(312, 59%, 34%)
HSVhsv(312, 74%, 55%)
CMYKcmyk(0%, 74.1%, 15.1%, 45.5%)
CIE-LABlab(34.11, 51.48, -23.22)
CIE-LCHlch(34.11, 56.48, 335.72°)
OKLaboklab(45.37% 0.1519 -0.0631)
OKLCHoklch(45.37% 0.164 337.4)
XYZxyz(14.5486, 8.0601, 17.9256)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2476 #248B39
analogous
#6D248B #8B2476 #8B2443
triadic
#8B2476 #768B24 #24768B
tetradic
#8B2476 #8B6D24 #248B39 #24438B
square
#8B2476 #8B6D24 #248B39 #24438B
split-complementary
#8B2476 #438B24 #248B6D
monochromatic
#2A0B23 #5A174D #8B2476 #BC319F #D356BA

Accessibility & contrast

On white

8.04
#8B2476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2476
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2476#FFFFFF#000000##FFFFFF
##8B24761.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284678
Deuteranopia (green-blind)
#4A5674
Tritanopia (blue-blind)
#932A4A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b2476;
/* rgb */ color: rgb(139, 36, 118);
/* oklch */ color: oklch(45.4% 0.164 337.4);
Tailwind
colors: {
  custom: {
    50: '#b0699d',
    500: '#8b2476',
    950: '#000000',
  },
}
SCSS
$custom: #8b2476;
$custom-light: #b0699d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2476",
  "rgb": {
    "r": 139,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 312.233,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.16445,
    "h": 337.4
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#8B2476
secondary
#53B768
accent
#E26646
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2476

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

Preview Lab → · Contrast checker → · Palette generator →

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