#862F66#862F66

#862F66 is a dark, vivid pink. Relative luminance 0.081; OKLCH L 45.0% C 0.135 H 345.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#862F66
RGBrgb(134, 47, 102)
HSLhsl(322, 48%, 35%)
HSVhsv(322, 65%, 53%)
CMYKcmyk(0%, 64.9%, 23.9%, 47.5%)
CIE-LABlab(34.11, 43.24, -13.15)
CIE-LCHlch(34.11, 45.19, 343.09°)
OKLaboklab(44.97% 0.1301 -0.0349)
OKLCHoklch(44.97% 0.135 345)
XYZxyz(13.2468, 8.0619, 13.4263)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F66 #2F864F
analogous
#7A2F86 #862F66 #862F3A
triadic
#862F66 #66862F #2F6686
tetradic
#862F66 #867A2F #2F864F #2F3A86
square
#862F66 #867A2F #2F864F #2F3A86
split-complementary
#862F66 #3A862F #2F867A
monochromatic
#2B0F21 #591F44 #862F66 #B33F88 #C966A5

Accessibility & contrast

On white

8.04
#862F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#862F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F66
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F66#FFFFFF#000000##FFFFFF
##862F661.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384768
Deuteranopia (green-blind)
#515664
Tritanopia (blue-blind)
#8F2E46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862f66;
/* rgb */ color: rgb(134, 47, 102);
/* oklch */ color: oklch(45.0% 0.135 345.0);
Tailwind
colors: {
  custom: {
    50: '#ac6d91',
    500: '#862f66',
    950: '#000000',
  },
}
SCSS
$custom: #862f66;
$custom-light: #ac6d91;
$custom-dark: #000000;
JSON
{
  "hex": "#862f66",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 322.069,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44969,
    "c": 0.1347,
    "h": 345
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#862F66
secondary
#60B07E
accent
#D88250
background
#FAF6F8
surface
#F5ECF0
border
#CFC7CB
text
#11070C
muted
#807A7D

Preview Lab

Preview with #862F66

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

Preview Lab → · Contrast checker → · Palette generator →

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