#8B2E6A#8B2E6A

#8B2E6A is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.8% C 0.143 H 344.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8B2E6A
RGBrgb(139, 46, 106)
HSLhsl(321, 50%, 36%)
HSVhsv(321, 67%, 55%)
CMYKcmyk(0%, 66.9%, 23.7%, 45.5%)
CIE-LABlab(34.97, 45.76, -14.30)
CIE-LCHlch(34.97, 47.94, 342.65°)
OKLaboklab(45.82% 0.1378 -0.038)
OKLCHoklch(45.82% 0.143 344.6)
XYZxyz(14.2265, 8.4850, 14.5214)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E6A #2E8B4F
analogous
#7E2E8B #8B2E6A #8B2E3C
triadic
#8B2E6A #6A8B2E #2E6A8B
tetradic
#8B2E6A #8B7E2E #2E8B4F #2E3C8B
square
#8B2E6A #8B7E2E #2E8B4F #2E3C8B
split-complementary
#8B2E6A #3C8B2E #2E8B7E
monochromatic
#2F1024 #5D1F47 #8B2E6A #B93D8D #CD67A8

Accessibility & contrast

On white

7.79
#8B2E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8B2E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E6A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E6A#FFFFFF#000000##FFFFFF
##8B2E6A1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37486C
Deuteranopia (green-blind)
#535868
Tritanopia (blue-blind)
#942D48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2e6a;
/* rgb */ color: rgb(139, 46, 106);
/* oklch */ color: oklch(45.8% 0.143 344.6);
Tailwind
colors: {
  custom: {
    50: '#b06e94',
    500: '#8b2e6a',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e6a;
$custom-light: #b06e94;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e6a",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 321.29,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45823,
    "c": 0.1429,
    "h": 344.6
  },
  "luminance": 0.08484
}

Semantic roles & 50–950 ramp

primary
#8B2E6A
secondary
#61B37E
accent
#DA804E
background
#FBF6F9
surface
#F6ECF1
border
#D0C7CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B2E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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