#872545#872545

#872545 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.8% C 0.134 H 5.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#872545
RGBrgb(135, 37, 69)
HSLhsl(340, 57%, 34%)
HSVhsv(340, 73%, 53%)
CMYKcmyk(0%, 72.6%, 48.9%, 47.1%)
CIE-LABlab(31.59, 43.80, 4.52)
CIE-LCHlch(31.59, 44.03, 5.89°)
OKLaboklab(42.77% 0.1338 0.012)
OKLCHoklch(42.77% 0.134 5.1)
XYZxyz(11.7284, 6.9052, 6.3443)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872545 #258767
analogous
#872576 #872545 #873625
triadic
#872545 #458725 #254587
tetradic
#872545 #768725 #258767 #362587
square
#872545 #768725 #258767 #362587
split-complementary
#872545 #258736 #257687
monochromatic
#270B14 #57182C #872545 #B7325E #D1567E

Accessibility & contrast

On white

8.82
#872545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#872545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872545
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872545#FFFFFF#000000##FFFFFF
##8725451.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E46
Deuteranopia (green-blind)
#555143
Tritanopia (blue-blind)
#931432
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872545;
/* rgb */ color: rgb(135, 37, 69);
/* oklch */ color: oklch(42.8% 0.134 5.1);
Tailwind
colors: {
  custom: {
    50: '#af6778',
    500: '#872545',
    950: '#000000',
  },
}
SCSS
$custom: #872545;
$custom-light: #af6778;
$custom-dark: #000000;
JSON
{
  "hex": "#872545",
  "rgb": {
    "r": 135,
    "g": 37,
    "b": 69
  },
  "hsl": {
    "h": 340.408,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42765,
    "c": 0.13431,
    "h": 5.1
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#872545
secondary
#53B595
accent
#E0AE48
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #872545

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

Preview Lab → · Contrast checker → · Palette generator →

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