#8B2E72#8B2E72

#8B2E72 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.148 H 340.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8B2E72
RGBrgb(139, 46, 114)
HSLhsl(316, 50%, 36%)
HSVhsv(316, 67%, 55%)
CMYKcmyk(0%, 66.9%, 18%, 45.5%)
CIE-LABlab(35.32, 46.95, -18.82)
CIE-LCHlch(35.32, 50.58, 338.16°)
OKLaboklab(46.19% 0.1395 -0.0507)
OKLCHoklch(46.19% 0.148 340)
XYZxyz(14.6621, 8.6592, 16.8155)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E72 #2E8B47
analogous
#762E8B #8B2E72 #8B2E44
triadic
#8B2E72 #728B2E #2E728B
tetradic
#8B2E72 #8B762E #2E8B47 #2E448B
square
#8B2E72 #8B762E #2E8B47 #2E448B
split-complementary
#8B2E72 #448B2E #2E8B76
monochromatic
#2F1027 #5D1F4C #8B2E72 #B93D98 #CD67B1

Accessibility & contrast

On white

7.69
#8B2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8B2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E72
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E72#FFFFFF#000000##FFFFFF
##8B2E721.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A74
Deuteranopia (green-blind)
#505870
Tritanopia (blue-blind)
#93304B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2e72;
/* rgb */ color: rgb(139, 46, 114);
/* oklch */ color: oklch(46.2% 0.148 340.0);
Tailwind
colors: {
  custom: {
    50: '#b06e9a',
    500: '#8b2e72',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e72;
$custom-light: #b06e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e72",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 316.129,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4619,
    "c": 0.1484,
    "h": 340
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#8B2E72
secondary
#61B377
accent
#DA744E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8B2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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