#8B2E79#8B2E79

#8B2E79 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.154 H 336.3°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8B2E79
RGBrgb(139, 46, 121)
HSLhsl(312, 50%, 36%)
HSVhsv(312, 67%, 55%)
CMYKcmyk(0%, 66.9%, 12.9%, 45.5%)
CIE-LABlab(35.64, 48.05, -22.71)
CIE-LCHlch(35.64, 53.15, 334.70°)
OKLaboklab(46.53% 0.1407 -0.0617)
OKLCHoklch(46.53% 0.154 336.3)
XYZxyz(15.0758, 8.8247, 18.9948)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E79 #2E8B40
analogous
#6F2E8B #8B2E79 #8B2E4B
triadic
#8B2E79 #798B2E #2E798B
tetradic
#8B2E79 #8B6F2E #2E8B40 #2E4B8B
square
#8B2E79 #8B6F2E #2E8B40 #2E4B8B
split-complementary
#8B2E79 #4B8B2E #2E8B6F
monochromatic
#2F1029 #5D1F51 #8B2E79 #B93DA1 #CD67B9

Accessibility & contrast

On white

7.60
#8B2E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8B2E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E79
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E79#FFFFFF#000000##FFFFFF
##8B2E791.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7B
Deuteranopia (green-blind)
#4D5977
Tritanopia (blue-blind)
#92334F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8b2e79;
/* rgb */ color: rgb(139, 46, 121);
/* oklch */ color: oklch(46.5% 0.154 336.3);
Tailwind
colors: {
  custom: {
    50: '#b06ea0',
    500: '#8b2e79',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e79;
$custom-light: #b06ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e79",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 311.613,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46534,
    "c": 0.1536,
    "h": 336.3
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#8B2E79
secondary
#61B371
accent
#DA694E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8B2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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