#872848#872848

#872848 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.2% C 0.131 H 3.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#872848
RGBrgb(135, 40, 72)
HSLhsl(340, 54%, 34%)
HSVhsv(340, 70%, 53%)
CMYKcmyk(0%, 70.4%, 46.7%, 47.1%)
CIE-LABlab(32.12, 42.87, 3.31)
CIE-LCHlch(32.12, 43.00, 4.41°)
OKLaboklab(43.19% 0.131 0.009)
OKLCHoklch(43.19% 0.131 3.9)
XYZxyz(11.9211, 7.1379, 6.8796)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872848 #288767
analogous
#872878 #872848 #873728
triadic
#872848 #488728 #284887
tetradic
#872848 #788728 #288767 #372887
square
#872848 #788728 #288767 #372887
split-complementary
#872848 #288737 #287887
monochromatic
#290C16 #581A2F #872848 #B63661 #CE5B82

Accessibility & contrast

On white

8.65
#872848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#872848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872848
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872848#FFFFFF#000000##FFFFFF
##8728481.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4049
Deuteranopia (green-blind)
#565246
Tritanopia (blue-blind)
#931A35
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #872848;
/* rgb */ color: rgb(135, 40, 72);
/* oklch */ color: oklch(43.2% 0.131 3.9);
Tailwind
colors: {
  custom: {
    50: '#ae697a',
    500: '#872848',
    950: '#000000',
  },
}
SCSS
$custom: #872848;
$custom-light: #ae697a;
$custom-dark: #000000;
JSON
{
  "hex": "#872848",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 339.789,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43185,
    "c": 0.13134,
    "h": 3.9
  },
  "luminance": 0.07136
}

Semantic roles & 50–950 ramp

primary
#872848
secondary
#57B494
accent
#DEAC4A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #872848

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

Preview Lab → · Contrast checker → · Palette generator →

#872848 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva