#8B2379#8B2379

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

Color values

HEX#8B2379
RGBrgb(139, 35, 121)
HSLhsl(310, 60%, 34%)
HSVhsv(310, 75%, 55%)
CMYKcmyk(0%, 74.8%, 12.9%, 45.5%)
CIE-LABlab(34.13, 52.29, -25.07)
CIE-LCHlch(34.13, 57.99, 334.39°)
OKLaboklab(45.44% 0.1533 -0.0683)
OKLCHoklch(45.44% 0.168 336)
XYZxyz(14.6999, 8.0728, 18.8695)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2379 #238B35
analogous
#69238B #8B2379 #8B2345
triadic
#8B2379 #798B23 #23798B
tetradic
#8B2379 #8B6923 #238B35 #23458B
square
#8B2379 #8B6923 #238B35 #23458B
split-complementary
#8B2379 #458B23 #238B69
monochromatic
#290A24 #5A174E #8B2379 #BC2FA4 #D454BE

Accessibility & contrast

On white

8.03
#8B2379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2379
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2379#FFFFFF#000000##FFFFFF
##8B23791.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24467B
Deuteranopia (green-blind)
#495677
Tritanopia (blue-blind)
#922A4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b2379;
/* rgb */ color: rgb(139, 35, 121);
/* oklch */ color: oklch(45.4% 0.168 336.0);
Tailwind
colors: {
  custom: {
    50: '#b069a0',
    500: '#8b2379',
    950: '#000000',
  },
}
SCSS
$custom: #8b2379;
$custom-light: #b069a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2379",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 310.385,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45438,
    "c": 0.1678,
    "h": 336
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#8B2379
secondary
#52B863
accent
#E36045
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2379

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

Preview Lab → · Contrast checker → · Palette generator →

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