#8B274C#8B274C

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

Color values

HEX#8B274C
RGBrgb(139, 39, 76)
HSLhsl(338, 56%, 35%)
HSVhsv(338, 72%, 55%)
CMYKcmyk(0%, 71.9%, 45.3%, 45.5%)
CIE-LABlab(32.84, 44.96, 1.83)
CIE-LCHlch(32.84, 45.00, 2.33°)
OKLaboklab(43.9% 0.1376 0.0052)
OKLCHoklch(43.9% 0.138 2.2)
XYZxyz(12.6784, 7.4634, 7.6090)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B274C #278B66
analogous
#8B277E #8B274C #8B3427
triadic
#8B274C #4C8B27 #274C8B
tetradic
#8B274C #7E8B27 #278B66 #34278B
square
#8B274C #7E8B27 #278B66 #34278B
split-complementary
#8B274C #278B34 #277E8B
monochromatic
#2B0C18 #5B1A32 #8B274C #BB3466 #D15B87

Accessibility & contrast

On white

8.43
#8B274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8B274C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B274C
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B274C#FFFFFF#000000##FFFFFF
##8B274C1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414D
Deuteranopia (green-blind)
#57544A
Tritanopia (blue-blind)
#971836
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b274c;
/* rgb */ color: rgb(139, 39, 76);
/* oklch */ color: oklch(43.9% 0.138 2.2);
Tailwind
colors: {
  custom: {
    50: '#b1697d',
    500: '#8b274c',
    950: '#000000',
  },
}
SCSS
$custom: #8b274c;
$custom-light: #b1697d;
$custom-dark: #000000;
JSON
{
  "hex": "#8b274c",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 337.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43897,
    "c": 0.13774,
    "h": 2.2
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#8B274C
secondary
#58B693
accent
#DFA848
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #8B274C

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

Preview Lab → · Contrast checker → · Palette generator →

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