#862052#862052

#862052 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.144 H 355.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#862052
RGBrgb(134, 32, 82)
HSLhsl(331, 61%, 33%)
HSVhsv(331, 76%, 53%)
CMYKcmyk(0%, 76.1%, 38.8%, 47.5%)
CIE-LABlab(31.14, 46.74, -4.70)
CIE-LCHlch(31.14, 46.97, 354.25°)
OKLaboklab(42.54% 0.1435 -0.0118)
OKLCHoklch(42.54% 0.144 355.3)
XYZxyz(11.8718, 6.7120, 8.6514)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862052 #208654
analogous
#862085 #862052 #862120
triadic
#862052 #528620 #205286
tetradic
#862052 #858620 #208654 #212086
square
#862052 #858620 #208654 #212086
split-complementary
#862052 #208621 #208586
monochromatic
#230816 #551434 #862052 #B72C70 #D44C8F

Accessibility & contrast

On white

8.97
#862052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#862052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862052
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862052#FFFFFF#000000##FFFFFF
##8620521.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343D53
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#911436
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #862052;
/* rgb */ color: rgb(134, 32, 82);
/* oklch */ color: oklch(42.5% 0.144 355.3);
Tailwind
colors: {
  custom: {
    50: '#ae6582',
    500: '#862052',
    950: '#000000',
  },
}
SCSS
$custom: #862052;
$custom-light: #ae6582;
$custom-dark: #000000;
JSON
{
  "hex": "#862052",
  "rgb": {
    "r": 134,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 330.588,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42536,
    "c": 0.14394,
    "h": 355.3
  },
  "luminance": 0.06711
}

Semantic roles & 50–950 ramp

primary
#862052
secondary
#4BB782
accent
#E59543
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #862052

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

Preview Lab → · Contrast checker → · Palette generator →

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