#8B2F6D#8B2F6D

#8B2F6D is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.1% C 0.143 H 342.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8B2F6D
RGBrgb(139, 47, 109)
HSLhsl(320, 49%, 36%)
HSVhsv(320, 66%, 55%)
CMYKcmyk(0%, 66.2%, 21.6%, 45.5%)
CIE-LABlab(35.26, 45.77, -15.76)
CIE-LCHlch(35.26, 48.41, 340.99°)
OKLaboklab(46.07% 0.1371 -0.0421)
OKLCHoklch(46.07% 0.143 342.9)
XYZxyz(14.4247, 8.6275, 15.3706)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F6D #2F8B4D
analogous
#7B2F8B #8B2F6D #8B2F3F
triadic
#8B2F6D #6D8B2F #2F6D8B
tetradic
#8B2F6D #8B7B2F #2F8B4D #2F3F8B
square
#8B2F6D #8B7B2F #2F8B4D #2F3F8B
split-complementary
#8B2F6D #3F8B2F #2F8B7B
monochromatic
#301025 #5D2049 #8B2F6D #B93E91 #CC68AC

Accessibility & contrast

On white

7.71
#8B2F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B2F6D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F6D#FFFFFF#000000##FFFFFF
##8B2F6D1.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37496F
Deuteranopia (green-blind)
#52586B
Tritanopia (blue-blind)
#942F49
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8b2f6d;
/* rgb */ color: rgb(139, 47, 109);
/* oklch */ color: oklch(46.1% 0.143 342.9);
Tailwind
colors: {
  custom: {
    50: '#b06e97',
    500: '#8b2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f6d;
$custom-light: #b06e97;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f6d",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 319.565,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46073,
    "c": 0.14344,
    "h": 342.9
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#8B2F6D
secondary
#63B37D
accent
#D97C4F
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8B2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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