#872958#872958

#872958 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.136 H 353.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#872958
RGBrgb(135, 41, 88)
HSLhsl(330, 53%, 35%)
HSVhsv(330, 70%, 53%)
CMYKcmyk(0%, 69.6%, 34.8%, 47.1%)
CIE-LABlab(32.79, 44.27, -6.13)
CIE-LCHlch(32.79, 44.69, 352.12°)
OKLaboklab(43.86% 0.1353 -0.0157)
OKLCHoklch(43.86% 0.136 353.4)
XYZxyz(12.5468, 7.4428, 10.0065)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872958 #298758
analogous
#872987 #872958 #872929
triadic
#872958 #588729 #295887
tetradic
#872958 #878729 #298758 #292987
square
#872958 #878729 #298758 #292987
split-complementary
#872958 #298729 #298787
monochromatic
#290C1B #581B39 #872958 #B63777 #CE5D95

Accessibility & contrast

On white

8.44
#872958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#872958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872958
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872958#FFFFFF#000000##FFFFFF
##8729581.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394259
Deuteranopia (green-blind)
#535356
Tritanopia (blue-blind)
#91223D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #872958;
/* rgb */ color: rgb(135, 41, 88);
/* oklch */ color: oklch(43.9% 0.136 353.4);
Tailwind
colors: {
  custom: {
    50: '#ae6a87',
    500: '#872958',
    950: '#000000',
  },
}
SCSS
$custom: #872958;
$custom-light: #ae6a87;
$custom-dark: #000000;
JSON
{
  "hex": "#872958",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 88
  },
  "hsl": {
    "h": 330,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.13619,
    "h": 353.4
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#872958
secondary
#59B386
accent
#DD944B
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #872958

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

Preview Lab → · Contrast checker → · Palette generator →

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