#872046#872046

#872046 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.140 H 3.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#872046
RGBrgb(135, 32, 70)
HSLhsl(338, 62%, 33%)
HSVhsv(338, 76%, 53%)
CMYKcmyk(0%, 76.3%, 48.1%, 47.1%)
CIE-LABlab(30.94, 45.77, 2.93)
CIE-LCHlch(30.94, 45.87, 3.66°)
OKLaboklab(42.3% 0.1402 0.008)
OKLCHoklch(42.3% 0.14 3.3)
XYZxyz(11.6146, 6.6277, 6.4608)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#872046 #208761
analogous
#872079 #872046 #872D20
triadic
#872046 #468720 #204687
tetradic
#872046 #798720 #208761 #2D2087
square
#872046 #798720 #208761 #2D2087
split-complementary
#872046 #20872D #207987
monochromatic
#240913 #56142C #872046 #B82C60 #D54D7F

Accessibility & contrast

On white

9.03
#872046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#872046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #872046
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##872046#FFFFFF#000000##FFFFFF
##8720461.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383C47
Deuteranopia (green-blind)
#535044
Tritanopia (blue-blind)
#930B30
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #872046;
/* rgb */ color: rgb(135, 32, 70);
/* oklch */ color: oklch(42.3% 0.140 3.3);
Tailwind
colors: {
  custom: {
    50: '#af6579',
    500: '#872046',
    950: '#000000',
  },
}
SCSS
$custom: #872046;
$custom-light: #af6579;
$custom-dark: #000000;
JSON
{
  "hex": "#872046",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 337.864,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42297,
    "c": 0.14041,
    "h": 3.3
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#872046
secondary
#4BB890
accent
#E5A943
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #872046

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

Preview Lab → · Contrast checker → · Palette generator →

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