#862A4B#862A4B

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

Color values

HEX#862A4B
RGBrgb(134, 42, 75)
HSLhsl(338, 52%, 35%)
HSVhsv(338, 69%, 53%)
CMYKcmyk(0%, 68.7%, 44%, 47.5%)
CIE-LABlab(32.33, 42.01, 1.63)
CIE-LCHlch(32.33, 42.05, 2.22°)
OKLaboklab(43.34% 0.1285 0.0047)
OKLCHoklch(43.34% 0.129 2.1)
XYZxyz(11.9303, 7.2337, 7.4232)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A4B #2A8665
analogous
#862A79 #862A4B #86372A
triadic
#862A4B #4B862A #2A4B86
tetradic
#862A4B #79862A #2A8665 #372A86
square
#862A4B #79862A #2A8665 #372A86
split-complementary
#862A4B #2A8637 #2A7986
monochromatic
#290D17 #571B31 #862A4B #B53965 #CD5E86

Accessibility & contrast

On white

8.58
#862A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#862A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A4B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A4B#FFFFFF#000000##FFFFFF
##862A4B1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#555349
Tritanopia (blue-blind)
#911E37
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #862a4b;
/* rgb */ color: rgb(134, 42, 75);
/* oklch */ color: oklch(43.3% 0.129 2.1);
Tailwind
colors: {
  custom: {
    50: '#ad6a7d',
    500: '#862a4b',
    950: '#000000',
  },
}
SCSS
$custom: #862a4b;
$custom-light: #ad6a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#862a4b",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 75
  },
  "hsl": {
    "h": 338.478,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43338,
    "c": 0.12858,
    "h": 2.1
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#862A4B
secondary
#5AB292
accent
#DCA84C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110709
muted
#807A7B

Preview Lab

Preview with #862A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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