#862F6A#862F6A

#862F6A is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.1% C 0.137 H 342.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#862F6A
RGBrgb(134, 47, 106)
HSLhsl(319, 48%, 35%)
HSVhsv(319, 65%, 53%)
CMYKcmyk(0%, 64.9%, 20.9%, 47.5%)
CIE-LABlab(34.28, 43.83, -15.44)
CIE-LCHlch(34.28, 46.47, 340.60°)
OKLaboklab(45.15% 0.1311 -0.0413)
OKLCHoklch(45.15% 0.137 342.5)
XYZxyz(13.4499, 8.1432, 14.4963)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F6A #2F864B
analogous
#762F86 #862F6A #862F3F
triadic
#862F6A #6A862F #2F6A86
tetradic
#862F6A #86762F #2F864B #2F3F86
square
#862F6A #86762F #2F864B #2F3F86
split-complementary
#862F6A #3F862F #2F8676
monochromatic
#2B0F22 #591F46 #862F6A #B33F8E #C966A9

Accessibility & contrast

On white

7.99
#862F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#862F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F6A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F6A#FFFFFF#000000##FFFFFF
##862F6A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36486C
Deuteranopia (green-blind)
#4F5668
Tritanopia (blue-blind)
#8E3048
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862f6a;
/* rgb */ color: rgb(134, 47, 106);
/* oklch */ color: oklch(45.1% 0.137 342.5);
Tailwind
colors: {
  custom: {
    50: '#ac6d94',
    500: '#862f6a',
    950: '#000000',
  },
}
SCSS
$custom: #862f6a;
$custom-light: #ac6d94;
$custom-dark: #000000;
JSON
{
  "hex": "#862f6a",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 319.31,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.1374,
    "h": 342.5
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

primary
#862F6A
secondary
#60B07A
accent
#D87C50
background
#FAF6F9
surface
#F5ECF1
border
#CFC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #862F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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