#872452#872452

#872452 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.1% C 0.140 H 356.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#872452
RGBrgb(135, 36, 82)
HSLhsl(332, 58%, 34%)
HSVhsv(332, 73%, 53%)
CMYKcmyk(0%, 73.3%, 39.3%, 47.1%)
CIE-LABlab(31.86, 45.56, -3.62)
CIE-LCHlch(31.86, 45.70, 355.46°)
OKLaboklab(43.1% 0.1397 -0.0089)
OKLCHoklch(43.1% 0.14 356.3)
XYZxyz(12.1463, 7.0233, 8.6970)
Luminance0.0702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872452 #248759
analogous
#872483 #872452 #872724
triadic
#872452 #528724 #245287
tetradic
#872452 #838724 #248759 #272487
square
#872452 #838724 #248759 #272487
split-complementary
#872452 #248727 #248387
monochromatic
#260A17 #571735 #872452 #B7316F #D1548E

Accessibility & contrast

On white

8.73
#872452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#872452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872452
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872452#FFFFFF#000000##FFFFFF
##8724521.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#525250
Tritanopia (blue-blind)
#921938
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #872452;
/* rgb */ color: rgb(135, 36, 82);
/* oklch */ color: oklch(43.1% 0.140 356.3);
Tailwind
colors: {
  custom: {
    50: '#ae6782',
    500: '#872452',
    950: '#000000',
  },
}
SCSS
$custom: #872452;
$custom-light: #ae6782;
$custom-dark: #000000;
JSON
{
  "hex": "#872452",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 332.121,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.13999,
    "h": 356.3
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#872452
secondary
#51B587
accent
#E19947
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #872452

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

Preview Lab → · Contrast checker → · Palette generator →

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