#8B274E#8B274E

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

Color values

HEX#8B274E
RGBrgb(139, 39, 78)
HSLhsl(337, 56%, 35%)
HSVhsv(337, 72%, 55%)
CMYKcmyk(0%, 71.9%, 43.9%, 45.5%)
CIE-LABlab(32.90, 45.17, 0.61)
CIE-LCHlch(32.90, 45.17, 0.78°)
OKLaboklab(43.96% 0.1384 0.0021)
OKLCHoklch(43.96% 0.138 0.9)
XYZxyz(12.7491, 7.4917, 7.9809)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B274E #278B64
analogous
#8B2780 #8B274E #8B3227
triadic
#8B274E #4E8B27 #274E8B
tetradic
#8B274E #808B27 #278B64 #32278B
square
#8B274E #808B27 #278B64 #32278B
split-complementary
#8B274E #278B32 #27808B
monochromatic
#2B0C18 #5B1A33 #8B274E #BB3469 #D15B89

Accessibility & contrast

On white

8.41
#8B274E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B274E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B274E#FFFFFF#000000##FFFFFF
##8B274E1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b274e;
/* rgb */ color: rgb(139, 39, 78);
/* oklch */ color: oklch(44.0% 0.138 0.9);
Tailwind
colors: {
  custom: {
    50: '#b1697f',
    500: '#8b274e',
    950: '#000000',
  },
}
SCSS
$custom: #8b274e;
$custom-light: #b1697f;
$custom-dark: #000000;
JSON
{
  "hex": "#8b274e",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 78
  },
  "hsl": {
    "h": 336.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43962,
    "c": 0.13839,
    "h": 0.9
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#8B274E
secondary
#58B691
accent
#DFA548
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #8B274E

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

Preview Lab → · Contrast checker → · Palette generator →

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