#872847#872847

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

Color values

HEX#872847
RGBrgb(135, 40, 71)
HSLhsl(340, 54%, 34%)
HSVhsv(340, 70%, 53%)
CMYKcmyk(0%, 70.4%, 47.4%, 47.1%)
CIE-LABlab(32.09, 42.77, 3.92)
CIE-LCHlch(32.09, 42.95, 5.23°)
OKLaboklab(43.15% 0.1306 0.0105)
OKLCHoklch(43.15% 0.131 4.6)
XYZxyz(11.8887, 7.1249, 6.7092)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872847 #288768
analogous
#872877 #872847 #873928
triadic
#872847 #478728 #284787
tetradic
#872847 #778728 #288768 #392887
square
#872847 #778728 #288768 #392887
split-complementary
#872847 #288739 #287787
monochromatic
#290C15 #581A2E #872847 #B63660 #CE5B81

Accessibility & contrast

On white

8.66
#872847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#872847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872847
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872847#FFFFFF#000000##FFFFFF
##8728471.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#565245
Tritanopia (blue-blind)
#931A34
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #872847;
/* rgb */ color: rgb(135, 40, 71);
/* oklch */ color: oklch(43.2% 0.131 4.6);
Tailwind
colors: {
  custom: {
    50: '#af697a',
    500: '#872847',
    950: '#000000',
  },
}
SCSS
$custom: #872847;
$custom-light: #af697a;
$custom-dark: #000000;
JSON
{
  "hex": "#872847",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 340.421,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.13107,
    "h": 4.6
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#872847
secondary
#57B495
accent
#DEAE4A
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110709
muted
#807A7B

Preview Lab

Preview with #872847

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

Preview Lab → · Contrast checker → · Palette generator →

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