#862A4A#862A4A

#862A4A is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.3% C 0.128 H 2.8°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#862A4A
RGBrgb(134, 42, 74)
HSLhsl(339, 52%, 35%)
HSVhsv(339, 69%, 53%)
CMYKcmyk(0%, 68.7%, 44.8%, 47.5%)
CIE-LABlab(32.30, 41.91, 2.24)
CIE-LCHlch(32.30, 41.97, 3.06°)
OKLaboklab(43.31% 0.1281 0.0063)
OKLCHoklch(43.31% 0.128 2.8)
XYZxyz(11.8964, 7.2201, 7.2444)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A4A #2A8666
analogous
#862A78 #862A4A #86382A
triadic
#862A4A #4A862A #2A4A86
tetradic
#862A4A #78862A #2A8666 #382A86
square
#862A4A #78862A #2A8666 #382A86
split-complementary
#862A4A #2A8638 #2A7886
monochromatic
#290D17 #571B30 #862A4A #B53964 #CD5E84

Accessibility & contrast

On white

8.59
#862A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#862A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A4A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A4A#FFFFFF#000000##FFFFFF
##862A4A1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414B
Deuteranopia (green-blind)
#555348
Tritanopia (blue-blind)
#921E37
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #862a4a;
/* rgb */ color: rgb(134, 42, 74);
/* oklch */ color: oklch(43.3% 0.128 2.8);
Tailwind
colors: {
  custom: {
    50: '#ad6a7c',
    500: '#862a4a',
    950: '#000000',
  },
}
SCSS
$custom: #862a4a;
$custom-light: #ad6a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#862a4a",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 339.13,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.12826,
    "h": 2.8
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#862A4A
secondary
#5AB293
accent
#DCAA4C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #862A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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