#8B2276#8B2276

#8B2276 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.167 H 337.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8B2276
RGBrgb(139, 34, 118)
HSLhsl(312, 61%, 34%)
HSVhsv(312, 76%, 55%)
CMYKcmyk(0%, 75.5%, 15.1%, 45.5%)
CIE-LABlab(33.86, 52.18, -23.60)
CIE-LCHlch(33.86, 57.27, 335.66°)
OKLaboklab(45.19% 0.154 -0.0642)
OKLCHoklch(45.19% 0.167 337.4)
XYZxyz(14.4898, 7.9424, 17.9059)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2276 #228B37
analogous
#6C228B #8B2276 #8B2242
triadic
#8B2276 #768B22 #22768B
tetradic
#8B2276 #8B6C22 #228B37 #22428B
square
#8B2276 #8B6C22 #228B37 #22428B
split-complementary
#8B2276 #428B22 #228B6C
monochromatic
#290A23 #5A164C #8B2276 #BC2EA0 #D553BB

Accessibility & contrast

On white

8.11
#8B2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8B2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2276
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2276#FFFFFF#000000##FFFFFF
##8B22761.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264578
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#932849
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b2276;
/* rgb */ color: rgb(139, 34, 118);
/* oklch */ color: oklch(45.2% 0.167 337.4);
Tailwind
colors: {
  custom: {
    50: '#b0689d',
    500: '#8b2276',
    950: '#000000',
  },
}
SCSS
$custom: #8b2276;
$custom-light: #b0689d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2276",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 312,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.16678,
    "h": 337.4
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#8B2276
secondary
#50B865
accent
#E46444
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2276

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

Preview Lab → · Contrast checker → · Palette generator →

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