#862F6E#862F6E

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

Color values

HEX#862F6E
RGBrgb(134, 47, 110)
HSLhsl(317, 48%, 35%)
HSVhsv(317, 65%, 53%)
CMYKcmyk(0%, 64.9%, 17.9%, 47.5%)
CIE-LABlab(34.45, 44.45, -17.70)
CIE-LCHlch(34.45, 47.84, 338.28°)
OKLaboklab(45.33% 0.1319 -0.0476)
OKLCHoklch(45.33% 0.14 340.1)
XYZxyz(13.6628, 8.2284, 15.6175)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F6E #2F8647
analogous
#722F86 #862F6E #862F42
triadic
#862F6E #6E862F #2F6E86
tetradic
#862F6E #86722F #2F8647 #2F4286
square
#862F6E #86722F #2F8647 #2F4286
split-complementary
#862F6E #42862F #2F8672
monochromatic
#2B0F24 #591F49 #862F6E #B33F93 #C966AE

Accessibility & contrast

On white

7.94
#862F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#862F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F6E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F6E#FFFFFF#000000##FFFFFF
##862F6E1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#4E566C
Tritanopia (blue-blind)
#8E314A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862f6e;
/* rgb */ color: rgb(134, 47, 110);
/* oklch */ color: oklch(45.3% 0.140 340.1);
Tailwind
colors: {
  custom: {
    50: '#ac6e97',
    500: '#862f6e',
    950: '#000000',
  },
}
SCSS
$custom: #862f6e;
$custom-light: #ac6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#862f6e",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 316.552,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.14026,
    "h": 340.1
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #862F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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