#862F5D#862F5D

#862F5D is a dark, vivid pink. Relative luminance 0.079; OKLCH L 44.6% C 0.129 H 350.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#862F5D
RGBrgb(134, 47, 93)
HSLhsl(328, 48%, 35%)
HSVhsv(328, 65%, 53%)
CMYKcmyk(0%, 64.9%, 30.6%, 47.5%)
CIE-LABlab(33.76, 41.97, -7.92)
CIE-LCHlch(33.76, 42.71, 349.31°)
OKLaboklab(44.59% 0.1276 -0.0206)
OKLCHoklch(44.59% 0.129 350.8)
XYZxyz(12.8244, 7.8930, 11.2019)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F5D #2F8658
analogous
#832F86 #862F5D #862F31
triadic
#862F5D #5D862F #2F5D86
tetradic
#862F5D #86832F #2F8658 #2F3186
square
#862F5D #86832F #2F8658 #2F3186
split-complementary
#862F5D #31862F #2F8683
monochromatic
#2B0F1E #591F3E #862F5D #B33F7C #C9669B

Accessibility & contrast

On white

8.14
#862F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#862F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F5D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F5D#FFFFFF#000000##FFFFFF
##862F5D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465E
Deuteranopia (green-blind)
#53555B
Tritanopia (blue-blind)
#902B42
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862f5d;
/* rgb */ color: rgb(134, 47, 93);
/* oklch */ color: oklch(44.6% 0.129 350.8);
Tailwind
colors: {
  custom: {
    50: '#ac6d8a',
    500: '#862f5d',
    950: '#000000',
  },
}
SCSS
$custom: #862f5d;
$custom-light: #ac6d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#862f5d",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 328.276,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44594,
    "c": 0.12925,
    "h": 350.8
  },
  "luminance": 0.07892
}

Semantic roles & 50–950 ramp

primary
#862F5D
secondary
#60B086
accent
#D89050
background
#FAF6F8
surface
#F5ECF0
border
#CFC7CB
text
#11070B
muted
#807A7C

Preview Lab

Preview with #862F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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