#8B2F5D#8B2F5D

#8B2F5D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.4% C 0.134 H 352.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8B2F5D
RGBrgb(139, 47, 93)
HSLhsl(330, 49%, 36%)
HSVhsv(330, 66%, 55%)
CMYKcmyk(0%, 66.2%, 33.1%, 45.5%)
CIE-LABlab(34.63, 43.55, -6.53)
CIE-LCHlch(34.63, 44.04, 351.47°)
OKLaboklab(45.4% 0.1328 -0.0168)
OKLCHoklch(45.4% 0.134 352.8)
XYZxyz(13.6405, 8.3138, 11.2402)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F5D #2F8B5D
analogous
#8B2F8B #8B2F5D #8B2F2F
triadic
#8B2F5D #5D8B2F #2F5D8B
tetradic
#8B2F5D #8B8B2F #2F8B5D #2F2F8B
square
#8B2F5D #8B8B2F #2F8B5D #2F2F8B
split-complementary
#8B2F5D #2F8B2F #2F8B8B
monochromatic
#301020 #5D203E #8B2F5D #B93E7C #CC689A

Accessibility & contrast

On white

7.89
#8B2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8B2F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F5D
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F5D#FFFFFF#000000##FFFFFF
##8B2F5D1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475E
Deuteranopia (green-blind)
#57585B
Tritanopia (blue-blind)
#952942
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8b2f5d;
/* rgb */ color: rgb(139, 47, 93);
/* oklch */ color: oklch(45.4% 0.134 352.8);
Tailwind
colors: {
  custom: {
    50: '#b06e8a',
    500: '#8b2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f5d;
$custom-light: #b06e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f5d",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 330,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45403,
    "c": 0.13386,
    "h": 352.8
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#8B2F5D
secondary
#63B38B
accent
#D9944F
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #8B2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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