#862F58#862F58

#862F58 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.4% C 0.127 H 354.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#862F58
RGBrgb(134, 47, 88)
HSLhsl(332, 48%, 35%)
HSVhsv(332, 65%, 53%)
CMYKcmyk(0%, 64.9%, 34.3%, 47.5%)
CIE-LABlab(33.58, 41.31, -4.98)
CIE-LCHlch(33.58, 41.61, 353.13°)
OKLaboklab(44.4% 0.126 -0.0126)
OKLCHoklch(44.4% 0.127 354.3)
XYZxyz(12.6101, 7.8073, 10.0735)
Luminance0.0781 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F58 #2F865D
analogous
#862F83 #862F58 #86312F
triadic
#862F58 #58862F #2F5886
tetradic
#862F58 #83862F #2F865D #312F86
square
#862F58 #83862F #2F865D #312F86
split-complementary
#862F58 #2F8631 #2F8386
monochromatic
#2B0F1C #591F3A #862F58 #B33F76 #C96695

Accessibility & contrast

On white

8.20
#862F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#862F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F58
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F58#FFFFFF#000000##FFFFFF
##862F581.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4559
Deuteranopia (green-blind)
#555556
Tritanopia (blue-blind)
#90293F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862f58;
/* rgb */ color: rgb(134, 47, 88);
/* oklch */ color: oklch(44.4% 0.127 354.3);
Tailwind
colors: {
  custom: {
    50: '#ad6d87',
    500: '#862f58',
    950: '#000000',
  },
}
SCSS
$custom: #862f58;
$custom-light: #ad6d87;
$custom-dark: #000000;
JSON
{
  "hex": "#862f58",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 331.724,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44401,
    "c": 0.12666,
    "h": 354.3
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#862F58
secondary
#60B08B
accent
#D89850
background
#FBF6F8
surface
#F6ECEF
border
#D0C7CA
text
#11070B
muted
#807A7C

Preview Lab

Preview with #862F58

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

Preview Lab → · Contrast checker → · Palette generator →

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