#862E6A#862E6A

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

Color values

HEX#862E6A
RGBrgb(134, 46, 106)
HSLhsl(319, 49%, 35%)
HSVhsv(319, 66%, 53%)
CMYKcmyk(0%, 65.7%, 20.9%, 47.5%)
CIE-LABlab(34.12, 44.28, -15.69)
CIE-LCHlch(34.12, 46.98, 340.49°)
OKLaboklab(45.03% 0.1324 -0.042)
OKLCHoklch(45.03% 0.139 342.4)
XYZxyz(13.4104, 8.0642, 14.4831)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E6A #2E864A
analogous
#762E86 #862E6A #862E3E
triadic
#862E6A #6A862E #2E6A86
tetradic
#862E6A #86762E #2E864A #2E3E86
square
#862E6A #86762E #2E864A #2E3E86
split-complementary
#862E6A #3E862E #2E8676
monochromatic
#2B0F22 #581E46 #862E6A #B43E8E #CA64AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862E6A#FFFFFF#000000##FFFFFF
##862E6A1.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)
#35476C
Deuteranopia (green-blind)
#4F5668
Tritanopia (blue-blind)
#8E2F47
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862e6a;
/* rgb */ color: rgb(134, 46, 106);
/* oklch */ color: oklch(45.0% 0.139 342.4);
Tailwind
colors: {
  custom: {
    50: '#ac6d94',
    500: '#862e6a',
    950: '#000000',
  },
}
SCSS
$custom: #862e6a;
$custom-light: #ac6d94;
$custom-dark: #000000;
JSON
{
  "hex": "#862e6a",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 319.091,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.13891,
    "h": 342.4
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

primary
#862E6A
secondary
#5FB179
accent
#D87B4F
background
#FAF6F9
surface
#F5ECF1
border
#CFC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #862E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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