#872458#872458

#872458 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.143 H 352.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#872458
RGBrgb(135, 36, 88)
HSLhsl(328, 58%, 34%)
HSVhsv(328, 73%, 53%)
CMYKcmyk(0%, 73.3%, 34.8%, 47.1%)
CIE-LABlab(32.08, 46.26, -7.20)
CIE-LCHlch(32.08, 46.82, 351.15°)
OKLaboklab(43.33% 0.1416 -0.0185)
OKLCHoklch(43.33% 0.143 352.5)
XYZxyz(12.3847, 7.1187, 9.9525)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872458 #248753
analogous
#842487 #872458 #872426
triadic
#872458 #588724 #245887
tetradic
#872458 #878424 #248753 #242687
square
#872458 #878424 #248753 #242687
split-complementary
#872458 #268724 #248784
monochromatic
#260A19 #571739 #872458 #B73177 #D15496

Accessibility & contrast

On white

8.67
#872458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #872458
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872458#FFFFFF#000000##FFFFFF
##8724581.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354059
Deuteranopia (green-blind)
#515256
Tritanopia (blue-blind)
#921C3A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #872458;
/* rgb */ color: rgb(135, 36, 88);
/* oklch */ color: oklch(43.3% 0.143 352.5);
Tailwind
colors: {
  custom: {
    50: '#ae6887',
    500: '#872458',
    950: '#000000',
  },
}
SCSS
$custom: #872458;
$custom-light: #ae6887;
$custom-dark: #000000;
JSON
{
  "hex": "#872458",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 328.485,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43327,
    "c": 0.14278,
    "h": 352.5
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#872458
secondary
#51B581
accent
#E19047
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #872458

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

Preview Lab → · Contrast checker → · Palette generator →

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