#862E52#862E52

#862E52 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.1% C 0.125 H 358.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#862E52
RGBrgb(134, 46, 82)
HSLhsl(335, 49%, 35%)
HSVhsv(335, 66%, 53%)
CMYKcmyk(0%, 65.7%, 38.8%, 47.5%)
CIE-LABlab(33.21, 41.03, -1.65)
CIE-LCHlch(33.21, 41.06, 357.70°)
OKLaboklab(44.06% 0.1254 -0.0038)
OKLCHoklch(44.06% 0.125 358.3)
XYZxyz(12.3323, 7.6329, 8.8049)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E52 #2E8662
analogous
#862E7E #862E52 #86362E
triadic
#862E52 #52862E #2E5286
tetradic
#862E52 #7E862E #2E8662 #362E86
square
#862E52 #7E862E #2E8662 #362E86
split-complementary
#862E52 #2E8636 #2E7E86
monochromatic
#2B0F1A #581E36 #862E52 #B43E6E #CA648E

Accessibility & contrast

On white

8.31
#862E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862E52
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E52#FFFFFF#000000##FFFFFF
##862E521.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#555450
Tritanopia (blue-blind)
#91263C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862e52;
/* rgb */ color: rgb(134, 46, 82);
/* oklch */ color: oklch(44.1% 0.125 358.3);
Tailwind
colors: {
  custom: {
    50: '#ad6c82',
    500: '#862e52',
    950: '#000000',
  },
}
SCSS
$custom: #862e52;
$custom-light: #ad6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#862e52",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 335.455,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44058,
    "c": 0.12547,
    "h": 358.3
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#862E52
secondary
#5FB18F
accent
#D8A04F
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#11070A
muted
#807A7C

Preview Lab

Preview with #862E52

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

Preview Lab → · Contrast checker → · Palette generator →

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