#8B2E6C#8B2E6C

#8B2E6C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.144 H 343.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8B2E6C
RGBrgb(139, 46, 108)
HSLhsl(320, 50%, 36%)
HSVhsv(320, 67%, 55%)
CMYKcmyk(0%, 66.9%, 22.3%, 45.5%)
CIE-LABlab(35.06, 46.05, -15.44)
CIE-LCHlch(35.06, 48.57, 341.47°)
OKLaboklab(45.91% 0.1382 -0.0412)
OKLCHoklch(45.91% 0.144 343.4)
XYZxyz(14.3317, 8.5270, 15.0756)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E6C #2E8B4D
analogous
#7C2E8B #8B2E6C #8B2E3E
triadic
#8B2E6C #6C8B2E #2E6C8B
tetradic
#8B2E6C #8B7C2E #2E8B4D #2E3E8B
square
#8B2E6C #8B7C2E #2E8B4D #2E3E8B
split-complementary
#8B2E6C #3E8B2E #2E8B7C
monochromatic
#2F1025 #5D1F48 #8B2E6C #B93D90 #CD67AB

Accessibility & contrast

On white

7.76
#8B2E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8B2E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E6C
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E6C#FFFFFF#000000##FFFFFF
##8B2E6C1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36496E
Deuteranopia (green-blind)
#52586A
Tritanopia (blue-blind)
#942E48
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8b2e6c;
/* rgb */ color: rgb(139, 46, 108);
/* oklch */ color: oklch(45.9% 0.144 343.4);
Tailwind
colors: {
  custom: {
    50: '#b06e96',
    500: '#8b2e6c',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e6c;
$custom-light: #b06e96;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e6c",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 320,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.14422,
    "h": 343.4
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#8B2E6C
secondary
#61B37D
accent
#DA7D4E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B2E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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