#8B2879#8B2879

#8B2879 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.162 H 336.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8B2879
RGBrgb(139, 40, 121)
HSLhsl(311, 55%, 35%)
HSVhsv(311, 71%, 55%)
CMYKcmyk(0%, 71.2%, 12.9%, 45.5%)
CIE-LABlab(34.78, 50.47, -24.06)
CIE-LCHlch(34.78, 55.91, 334.51°)
OKLaboklab(45.91% 0.1478 -0.0655)
OKLCHoklch(45.91% 0.162 336.1)
XYZxyz(14.8577, 8.3883, 18.9221)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2879 #288B3A
analogous
#6B288B #8B2879 #8B2848
triadic
#8B2879 #798B28 #28798B
tetradic
#8B2879 #8B6B28 #288B3A #28488B
square
#8B2879 #8B6B28 #288B3A #28488B
split-complementary
#8B2879 #488B28 #288B6B
monochromatic
#2C0D26 #5B1A50 #8B2879 #BB36A2 #D05DBB

Accessibility & contrast

On white

7.84
#8B2879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8B2879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2879
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2879#FFFFFF#000000##FFFFFF
##8B28791.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487B
Deuteranopia (green-blind)
#4B5777
Tritanopia (blue-blind)
#922E4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2879;
/* rgb */ color: rgb(139, 40, 121);
/* oklch */ color: oklch(45.9% 0.162 336.1);
Tailwind
colors: {
  custom: {
    50: '#b06ba0',
    500: '#8b2879',
    950: '#000000',
  },
}
SCSS
$custom: #8b2879;
$custom-light: #b06ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2879",
  "rgb": {
    "r": 139,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 310.909,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45905,
    "c": 0.1617,
    "h": 336.1
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#8B2879
secondary
#59B66A
accent
#DF6449
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2879

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

Preview Lab → · Contrast checker → · Palette generator →

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