#8B2377#8B2377

#8B2377 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.166 H 336.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8B2377
RGBrgb(139, 35, 119)
HSLhsl(312, 60%, 34%)
HSVhsv(312, 75%, 55%)
CMYKcmyk(0%, 74.8%, 14.4%, 45.5%)
CIE-LABlab(34.03, 51.99, -23.97)
CIE-LCHlch(34.03, 57.24, 335.25°)
OKLaboklab(45.33% 0.153 -0.0652)
OKLCHoklch(45.33% 0.166 336.9)
XYZxyz(14.5785, 8.0243, 18.2302)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2377 #238B37
analogous
#6B238B #8B2377 #8B2343
triadic
#8B2377 #778B23 #23778B
tetradic
#8B2377 #8B6B23 #238B37 #23438B
square
#8B2377 #8B6B23 #238B37 #23438B
split-complementary
#8B2377 #438B23 #238B6B
monochromatic
#290A23 #5A174D #8B2377 #BC2FA1 #D454BB

Accessibility & contrast

On white

8.06
#8B2377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8B2377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2377
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2377#FFFFFF#000000##FFFFFF
##8B23771.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264679
Deuteranopia (green-blind)
#495675
Tritanopia (blue-blind)
#93294A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b2377;
/* rgb */ color: rgb(139, 35, 119);
/* oklch */ color: oklch(45.3% 0.166 336.9);
Tailwind
colors: {
  custom: {
    50: '#b0699e',
    500: '#8b2377',
    950: '#000000',
  },
}
SCSS
$custom: #8b2377;
$custom-light: #b0699e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2377",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 311.538,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.16635,
    "h": 336.9
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#8B2377
secondary
#52B865
accent
#E36345
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2377

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

Preview Lab → · Contrast checker → · Palette generator →

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