#8B2671#8B2671

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

Color values

HEX#8B2671
RGBrgb(139, 38, 113)
HSLhsl(315, 57%, 35%)
HSVhsv(315, 73%, 55%)
CMYKcmyk(0%, 72.7%, 18.7%, 45.5%)
CIE-LABlab(34.13, 50.01, -20.04)
CIE-LCHlch(34.13, 53.87, 338.16°)
OKLaboklab(45.31% 0.149 -0.054)
OKLCHoklch(45.31% 0.158 340.1)
XYZxyz(14.3216, 8.0688, 16.4228)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2671 #268B40
analogous
#73268B #8B2671 #8B263E
triadic
#8B2671 #718B26 #26718B
tetradic
#8B2671 #8B7326 #268B40 #263E8B
square
#8B2671 #8B7326 #268B40 #263E8B
split-complementary
#8B2671 #3E8B26 #268B73
monochromatic
#2B0C23 #5B194A #8B2671 #BB3398 #D25AB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B2671#FFFFFF#000000##FFFFFF
##8B26711.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)
#2D4673
Deuteranopia (green-blind)
#4D566F
Tritanopia (blue-blind)
#932948
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8b2671;
/* rgb */ color: rgb(139, 38, 113);
/* oklch */ color: oklch(45.3% 0.158 340.1);
Tailwind
colors: {
  custom: {
    50: '#b06a9a',
    500: '#8b2671',
    950: '#000000',
  },
}
SCSS
$custom: #8b2671;
$custom-light: #b06a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2671",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 113
  },
  "hsl": {
    "h": 315.446,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45305,
    "c": 0.15846,
    "h": 340.1
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#8B2671
secondary
#56B76F
accent
#E06F47
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8B2671

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

Preview Lab → · Contrast checker → · Palette generator →

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