#862158#862158

#862158 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.146 H 351.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#862158
RGBrgb(134, 33, 88)
HSLhsl(327, 60%, 33%)
HSVhsv(327, 75%, 53%)
CMYKcmyk(0%, 75.4%, 34.3%, 47.5%)
CIE-LABlab(31.49, 47.09, -8.10)
CIE-LCHlch(31.49, 47.78, 350.24°)
OKLaboklab(42.86% 0.1441 -0.0209)
OKLCHoklch(42.86% 0.146 351.7)
XYZxyz(12.1375, 6.8620, 9.9160)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862158 #21864F
analogous
#822186 #862158 #862125
triadic
#862158 #588621 #215886
tetradic
#862158 #868221 #21864F #212586
square
#862158 #868221 #21864F #212586
split-complementary
#862158 #258621 #218682
monochromatic
#240918 #551538 #862158 #B72D78 #D34E97

Accessibility & contrast

On white

8.85
#862158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#862158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862158
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862158#FFFFFF#000000##FFFFFF
##8621581.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323F59
Deuteranopia (green-blind)
#4F5156
Tritanopia (blue-blind)
#901939
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #862158;
/* rgb */ color: rgb(134, 33, 88);
/* oklch */ color: oklch(42.9% 0.146 351.7);
Tailwind
colors: {
  custom: {
    50: '#ad6687',
    500: '#862158',
    950: '#000000',
  },
}
SCSS
$custom: #862158;
$custom-light: #ad6687;
$custom-dark: #000000;
JSON
{
  "hex": "#862158",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 327.327,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.14563,
    "h": 351.7
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#862158
secondary
#4CB77D
accent
#E48D44
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #862158

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

Preview Lab → · Contrast checker → · Palette generator →

#862158 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva