#87274F#87274F

#87274F is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.3% C 0.135 H 358.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#87274F
RGBrgb(135, 39, 79)
HSLhsl(335, 55%, 34%)
HSVhsv(335, 71%, 53%)
CMYKcmyk(0%, 71.1%, 41.5%, 47.1%)
CIE-LABlab(32.19, 44.03, -1.17)
CIE-LCHlch(32.19, 44.05, 358.47°)
OKLaboklab(43.31% 0.1349 -0.0025)
OKLCHoklch(43.31% 0.135 358.9)
XYZxyz(12.1293, 7.1679, 8.1404)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87274F #27875F
analogous
#87277F #87274F #872F27
triadic
#87274F #4F8727 #274F87
tetradic
#87274F #7F8727 #27875F #2F2787
square
#87274F #7F8727 #27875F #2F2787
split-complementary
#87274F #27872F #277F87
monochromatic
#280C17 #581933 #87274F #B6356B #CF598A

Accessibility & contrast

On white

8.63
#87274F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#87274F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #87274F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87274F#FFFFFF#000000##FFFFFF
##87274F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4050
Deuteranopia (green-blind)
#54524D
Tritanopia (blue-blind)
#921C38
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #87274f;
/* rgb */ color: rgb(135, 39, 79);
/* oklch */ color: oklch(43.3% 0.135 358.9);
Tailwind
colors: {
  custom: {
    50: '#ae6980',
    500: '#87274f',
    950: '#000000',
  },
}
SCSS
$custom: #87274f;
$custom-light: #ae6980;
$custom-dark: #000000;
JSON
{
  "hex": "#87274f",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 79
  },
  "hsl": {
    "h": 335,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.13493,
    "h": 358.9
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#87274F
secondary
#56B48D
accent
#DFA049
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #87274F

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

Preview Lab → · Contrast checker → · Palette generator →

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