#862A62#862A62

#862A62 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.2% C 0.139 H 346.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#862A62
RGBrgb(134, 42, 98)
HSLhsl(323, 52%, 35%)
HSVhsv(323, 69%, 53%)
CMYKcmyk(0%, 68.7%, 26.9%, 47.5%)
CIE-LABlab(33.15, 44.86, -12.05)
CIE-LCHlch(33.15, 46.45, 344.96°)
OKLaboklab(44.21% 0.1358 -0.0318)
OKLCHoklch(44.21% 0.139 346.8)
XYZxyz(12.8646, 7.6074, 12.3438)
Luminance0.0761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A62 #2A864E
analogous
#7C2A86 #862A62 #862A34
triadic
#862A62 #62862A #2A6286
tetradic
#862A62 #867C2A #2A864E #2A3486
square
#862A62 #867C2A #2A864E #2A3486
split-complementary
#862A62 #34862A #2A867C
monochromatic
#290D1E #571B40 #862A62 #B53984 #CD5EA1

Accessibility & contrast

On white

8.33
#862A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#862A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A62
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A62#FFFFFF#000000##FFFFFF
##862A621.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354464
Deuteranopia (green-blind)
#505460
Tritanopia (blue-blind)
#8F2842
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862a62;
/* rgb */ color: rgb(134, 42, 98);
/* oklch */ color: oklch(44.2% 0.139 346.8);
Tailwind
colors: {
  custom: {
    50: '#ac6b8e',
    500: '#862a62',
    950: '#000000',
  },
}
SCSS
$custom: #862a62;
$custom-light: #ac6b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#862a62",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 323.478,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4421,
    "c": 0.13949,
    "h": 346.8
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#862A62
secondary
#5AB27C
accent
#DC844C
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #862A62

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

Preview Lab → · Contrast checker → · Palette generator →

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