#87266B#87266B

#87266B is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.4% C 0.152 H 341.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#87266B
RGBrgb(135, 38, 107)
HSLhsl(317, 56%, 34%)
HSVhsv(317, 72%, 53%)
CMYKcmyk(0%, 71.9%, 20.7%, 47.1%)
CIE-LABlab(33.14, 48.04, -17.82)
CIE-LCHlch(33.14, 51.24, 339.65°)
OKLaboklab(44.36% 0.1438 -0.0478)
OKLCHoklch(44.36% 0.152 341.6)
XYZxyz(13.3390, 7.6000, 14.6715)
Luminance0.0760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87266B #268742
analogous
#732687 #87266B #87263B
triadic
#87266B #6B8726 #266B87
tetradic
#87266B #877326 #268742 #263B87
square
#87266B #877326 #268742 #263B87
split-complementary
#87266B #3B8726 #268773
monochromatic
#270B1F #571945 #87266B #B73391 #D058AD

Accessibility & contrast

On white

8.33
#87266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#87266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87266B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87266B#FFFFFF#000000##FFFFFF
##87266B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446D
Deuteranopia (green-blind)
#4C5469
Tritanopia (blue-blind)
#8F2745
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87266b;
/* rgb */ color: rgb(135, 38, 107);
/* oklch */ color: oklch(44.4% 0.152 341.6);
Tailwind
colors: {
  custom: {
    50: '#ad6995',
    500: '#87266b',
    950: '#000000',
  },
}
SCSS
$custom: #87266b;
$custom-light: #ad6995;
$custom-dark: #000000;
JSON
{
  "hex": "#87266b",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 317.32,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44359,
    "c": 0.15154,
    "h": 341.6
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#87266B
secondary
#54B570
accent
#DF7448
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87266B

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

Preview Lab → · Contrast checker → · Palette generator →

#87266B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva