#872058#872058

#872058 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.148 H 352.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#872058
RGBrgb(135, 32, 88)
HSLhsl(327, 62%, 33%)
HSVhsv(327, 76%, 53%)
CMYKcmyk(0%, 76.3%, 34.8%, 47.1%)
CIE-LABlab(31.56, 47.72, -7.99)
CIE-LCHlch(31.56, 48.39, 350.50°)
OKLaboklab(42.95% 0.1462 -0.0206)
OKLCHoklch(42.95% 0.148 352)
XYZxyz(12.2704, 6.8900, 9.9143)
Luminance0.0689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872058 #20874F
analogous
#832087 #872058 #872024
triadic
#872058 #588720 #205887
tetradic
#872058 #878320 #20874F #202487
square
#872058 #878320 #20874F #202487
split-complementary
#872058 #248720 #208783
monochromatic
#240918 #561438 #872058 #B82C78 #D54D97

Accessibility & contrast

On white

8.83
#872058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872058
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872058#FFFFFF#000000##FFFFFF
##8720581.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E59
Deuteranopia (green-blind)
#4F5156
Tritanopia (blue-blind)
#921839
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #872058;
/* rgb */ color: rgb(135, 32, 88);
/* oklch */ color: oklch(42.9% 0.148 352.0);
Tailwind
colors: {
  custom: {
    50: '#ae6687',
    500: '#872058',
    950: '#000000',
  },
}
SCSS
$custom: #872058;
$custom-light: #ae6687;
$custom-dark: #000000;
JSON
{
  "hex": "#872058",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 327.379,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.14762,
    "h": 352
  },
  "luminance": 0.06889
}

Semantic roles & 50–950 ramp

primary
#872058
secondary
#4BB87D
accent
#E58D43
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #872058

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

Preview Lab → · Contrast checker → · Palette generator →

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