#8B274D#8B274D

#8B274D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 43.9% C 0.138 H 1.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8B274D
RGBrgb(139, 39, 77)
HSLhsl(337, 56%, 35%)
HSVhsv(337, 72%, 55%)
CMYKcmyk(0%, 71.9%, 44.6%, 45.5%)
CIE-LABlab(32.87, 45.06, 1.22)
CIE-LCHlch(32.87, 45.08, 1.55°)
OKLaboklab(43.93% 0.138 0.0037)
OKLCHoklch(43.93% 0.138 1.5)
XYZxyz(12.7135, 7.4774, 7.7935)
Luminance0.0748 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B274D #278B65
analogous
#8B277F #8B274D #8B3327
triadic
#8B274D #4D8B27 #274D8B
tetradic
#8B274D #7F8B27 #278B65 #33278B
square
#8B274D #7F8B27 #278B65 #33278B
split-complementary
#8B274D #278B33 #277F8B
monochromatic
#2B0C18 #5B1A33 #8B274D #BB3467 #D15B88

Accessibility & contrast

On white

8.42
#8B274D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8B274D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B274D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B274D#FFFFFF#000000##FFFFFF
##8B274D1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#57544B
Tritanopia (blue-blind)
#971937
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b274d;
/* rgb */ color: rgb(139, 39, 77);
/* oklch */ color: oklch(43.9% 0.138 1.5);
Tailwind
colors: {
  custom: {
    50: '#b1697e',
    500: '#8b274d',
    950: '#000000',
  },
}
SCSS
$custom: #8b274d;
$custom-light: #b1697e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b274d",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 77
  },
  "hsl": {
    "h": 337.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.13806,
    "h": 1.5
  },
  "luminance": 0.07476
}

Semantic roles & 50–950 ramp

primary
#8B274D
secondary
#58B692
accent
#DFA648
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8B274D

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

Preview Lab → · Contrast checker → · Palette generator →

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