#862A52#862A52

#862A52 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.131 H 357.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#862A52
RGBrgb(134, 42, 82)
HSLhsl(334, 52%, 35%)
HSVhsv(334, 69%, 53%)
CMYKcmyk(0%, 68.7%, 38.8%, 47.5%)
CIE-LABlab(32.56, 42.80, -2.60)
CIE-LCHlch(32.56, 42.88, 356.52°)
OKLaboklab(43.58% 0.131 -0.0063)
OKLCHoklch(43.58% 0.131 357.2)
XYZxyz(12.1832, 7.3349, 8.7552)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A52 #2A865E
analogous
#862A80 #862A52 #86302A
triadic
#862A52 #52862A #2A5286
tetradic
#862A52 #80862A #2A865E #302A86
square
#862A52 #80862A #2A865E #302A86
split-complementary
#862A52 #2A8630 #2A8086
monochromatic
#290D19 #571B35 #862A52 #B5396F #CD5E8E

Accessibility & contrast

On white

8.51
#862A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#862A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A52
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A52#FFFFFF#000000##FFFFFF
##862A521.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4253
Deuteranopia (green-blind)
#545350
Tritanopia (blue-blind)
#91213A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #862a52;
/* rgb */ color: rgb(134, 42, 82);
/* oklch */ color: oklch(43.6% 0.131 357.2);
Tailwind
colors: {
  custom: {
    50: '#ad6a82',
    500: '#862a52',
    950: '#000000',
  },
}
SCSS
$custom: #862a52;
$custom-light: #ad6a82;
$custom-dark: #000000;
JSON
{
  "hex": "#862a52",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 333.913,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43578,
    "c": 0.13115,
    "h": 357.2
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#862A52
secondary
#5AB28C
accent
#DC9D4C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #862A52

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

Preview Lab → · Contrast checker → · Palette generator →

#862A52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva