#87266F#87266F

#87266F is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.154 H 339.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#87266F
RGBrgb(135, 38, 111)
HSLhsl(315, 56%, 34%)
HSVhsv(315, 72%, 53%)
CMYKcmyk(0%, 71.9%, 17.8%, 47.1%)
CIE-LABlab(33.32, 48.64, -20.08)
CIE-LCHlch(33.32, 52.62, 337.57°)
OKLaboklab(44.55% 0.1445 -0.0542)
OKLCHoklch(44.55% 0.154 339.4)
XYZxyz(13.5544, 7.6861, 15.8056)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87266F #26873E
analogous
#6F2687 #87266F #87263F
triadic
#87266F #6F8726 #266F87
tetradic
#87266F #876F26 #26873E #263F87
square
#87266F #876F26 #26873E #263F87
split-complementary
#87266F #3F8726 #26876F
monochromatic
#270B20 #571948 #87266F #B73396 #D058B2

Accessibility & contrast

On white

8.28
#87266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#87266F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87266F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87266F#FFFFFF#000000##FFFFFF
##87266F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#4B546D
Tritanopia (blue-blind)
#8F2947
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #87266f;
/* rgb */ color: rgb(135, 38, 111);
/* oklch */ color: oklch(44.6% 0.154 339.4);
Tailwind
colors: {
  custom: {
    50: '#ad6998',
    500: '#87266f',
    950: '#000000',
  },
}
SCSS
$custom: #87266f;
$custom-light: #ad6998;
$custom-dark: #000000;
JSON
{
  "hex": "#87266f",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 314.845,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44554,
    "c": 0.15433,
    "h": 339.4
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#87266F
secondary
#54B56C
accent
#DF6E48
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #87266F

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

Preview Lab → · Contrast checker → · Palette generator →

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