#862F6D#862F6D

#862F6D is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.3% C 0.140 H 340.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#862F6D
RGBrgb(134, 47, 109)
HSLhsl(317, 48%, 35%)
HSVhsv(317, 65%, 53%)
CMYKcmyk(0%, 64.9%, 18.7%, 47.5%)
CIE-LABlab(34.41, 44.29, -17.14)
CIE-LCHlch(34.41, 47.49, 338.85°)
OKLaboklab(45.29% 0.1317 -0.046)
OKLCHoklch(45.29% 0.14 340.7)
XYZxyz(13.6087, 8.2067, 15.3324)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F6D #2F8648
analogous
#732F86 #862F6D #862F42
triadic
#862F6D #6D862F #2F6D86
tetradic
#862F6D #86732F #2F8648 #2F4286
square
#862F6D #86732F #2F8648 #2F4286
split-complementary
#862F6D #42862F #2F8673
monochromatic
#2B0F23 #591F48 #862F6D #B33F92 #C966AD

Accessibility & contrast

On white

7.95
#862F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#862F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F6D
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F6D#FFFFFF#000000##FFFFFF
##862F6D1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34486F
Deuteranopia (green-blind)
#4E566B
Tritanopia (blue-blind)
#8E3149
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862f6d;
/* rgb */ color: rgb(134, 47, 109);
/* oklch */ color: oklch(45.3% 0.140 340.7);
Tailwind
colors: {
  custom: {
    50: '#ac6e97',
    500: '#862f6d',
    950: '#000000',
  },
}
SCSS
$custom: #862f6d;
$custom-light: #ac6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#862f6d",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 317.241,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45286,
    "c": 0.13953,
    "h": 340.7
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#862F6D
secondary
#60B077
accent
#D87750
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #862F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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