#862E54#862E54

#862E54 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.1% C 0.126 H 356.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#862E54
RGBrgb(134, 46, 84)
HSLhsl(334, 49%, 35%)
HSVhsv(334, 66%, 53%)
CMYKcmyk(0%, 65.7%, 37.3%, 47.5%)
CIE-LABlab(33.27, 41.27, -2.85)
CIE-LCHlch(33.27, 41.37, 356.06°)
OKLaboklab(44.13% 0.1261 -0.007)
OKLCHoklch(44.13% 0.126 356.8)
XYZxyz(12.4095, 7.6638, 9.2115)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E54 #2E8660
analogous
#862E80 #862E54 #86342E
triadic
#862E54 #54862E #2E5486
tetradic
#862E54 #80862E #2E8660 #342E86
square
#862E54 #80862E #2E8660 #342E86
split-complementary
#862E54 #2E8634 #2E8086
monochromatic
#2B0F1B #581E37 #862E54 #B43E71 #CA6490

Accessibility & contrast

On white

8.29
#862E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#862E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E54
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E54#FFFFFF#000000##FFFFFF
##862E541.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4455
Deuteranopia (green-blind)
#555452
Tritanopia (blue-blind)
#91263D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862e54;
/* rgb */ color: rgb(134, 46, 84);
/* oklch */ color: oklch(44.1% 0.126 356.8);
Tailwind
colors: {
  custom: {
    50: '#ad6c84',
    500: '#862e54',
    950: '#000000',
  },
}
SCSS
$custom: #862e54;
$custom-light: #ad6c84;
$custom-dark: #000000;
JSON
{
  "hex": "#862e54",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 334.091,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44129,
    "c": 0.1263,
    "h": 356.8
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#862E54
secondary
#5FB18D
accent
#D89D4F
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070A
muted
#807A7C

Preview Lab

Preview with #862E54

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

Preview Lab → · Contrast checker → · Palette generator →

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