#8B276E#8B276E

#8B276E is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.155 H 341.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8B276E
RGBrgb(139, 39, 110)
HSLhsl(317, 56%, 35%)
HSVhsv(317, 72%, 55%)
CMYKcmyk(0%, 71.9%, 20.9%, 45.5%)
CIE-LABlab(34.12, 49.19, -18.14)
CIE-LCHlch(34.12, 52.43, 339.75°)
OKLaboklab(45.26% 0.1473 -0.0487)
OKLCHoklch(45.26% 0.155 341.7)
XYZxyz(14.1879, 8.0672, 15.5587)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B276E #278B44
analogous
#76278B #8B276E #8B273C
triadic
#8B276E #6E8B27 #276E8B
tetradic
#8B276E #8B7627 #278B44 #273C8B
square
#8B276E #8B7627 #278B44 #273C8B
split-complementary
#8B276E #3C8B27 #278B76
monochromatic
#2B0C22 #5B1A48 #8B276E #BB3494 #D15BAF

Accessibility & contrast

On white

8.04
#8B276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8B276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B276E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B276E#FFFFFF#000000##FFFFFF
##8B276E1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4670
Deuteranopia (green-blind)
#4E566C
Tritanopia (blue-blind)
#942847
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b276e;
/* rgb */ color: rgb(139, 39, 110);
/* oklch */ color: oklch(45.3% 0.155 341.7);
Tailwind
colors: {
  custom: {
    50: '#b06a97',
    500: '#8b276e',
    950: '#000000',
  },
}
SCSS
$custom: #8b276e;
$custom-light: #b06a97;
$custom-dark: #000000;
JSON
{
  "hex": "#8b276e",
  "rgb": {
    "r": 139,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 317.4,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45258,
    "c": 0.15514,
    "h": 341.7
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

primary
#8B276E
secondary
#58B673
accent
#DF7448
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B276E

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

Preview Lab → · Contrast checker → · Palette generator →

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