#862A4E#862A4E

#862A4E is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.4% C 0.130 H 0.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#862A4E
RGBrgb(134, 42, 78)
HSLhsl(337, 52%, 35%)
HSVhsv(337, 69%, 53%)
CMYKcmyk(0%, 68.7%, 41.8%, 47.5%)
CIE-LABlab(32.43, 42.34, -0.19)
CIE-LCHlch(32.43, 42.34, 359.74°)
OKLaboklab(43.44% 0.1296 0)
OKLCHoklch(43.44% 0.13 0)
XYZxyz(12.0354, 7.2758, 7.9768)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A4E #2A8662
analogous
#862A7C #862A4E #86342A
triadic
#862A4E #4E862A #2A4E86
tetradic
#862A4E #7C862A #2A8662 #342A86
square
#862A4E #7C862A #2A8662 #342A86
split-complementary
#862A4E #2A8634 #2A7C86
monochromatic
#290D18 #571B33 #862A4E #B53969 #CD5E89

Accessibility & contrast

On white

8.55
#862A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862A4E
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A4E#FFFFFF#000000##FFFFFF
##862A4E1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#55534C
Tritanopia (blue-blind)
#912039
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #862a4e;
/* rgb */ color: rgb(134, 42, 78);
/* oklch */ color: oklch(43.4% 0.130 0.0);
Tailwind
colors: {
  custom: {
    50: '#ad6a7f',
    500: '#862a4e',
    950: '#000000',
  },
}
SCSS
$custom: #862a4e;
$custom-light: #ad6a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#862a4e",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 336.522,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43438,
    "c": 0.12959,
    "h": 0
  },
  "luminance": 0.07274
}

Semantic roles & 50–950 ramp

primary
#862A4E
secondary
#5AB290
accent
#DCA44C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #862A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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