#862B75#862B75

#862B75 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.151 H 336.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#862B75
RGBrgb(134, 43, 117)
HSLhsl(311, 51%, 35%)
HSVhsv(311, 68%, 53%)
CMYKcmyk(0%, 67.9%, 12.7%, 47.5%)
CIE-LABlab(34.15, 47.30, -22.59)
CIE-LCHlch(34.15, 52.41, 334.47°)
OKLaboklab(45.22% 0.1383 -0.0614)
OKLCHoklch(45.22% 0.151 336.1)
XYZxyz(13.9065, 8.0816, 17.6537)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B75 #2B863C
analogous
#6A2B86 #862B75 #862B48
triadic
#862B75 #75862B #2B7586
tetradic
#862B75 #866A2B #2B863C #2B4886
square
#862B75 #866A2B #2B863C #2B4886
split-complementary
#862B75 #48862B #2B866A
monochromatic
#290D24 #581C4D #862B75 #B43A9D #CC60B8

Accessibility & contrast

On white

8.03
#862B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#862B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B75
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B75#FFFFFF#000000##FFFFFF
##862B751.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4877
Deuteranopia (green-blind)
#4A5573
Tritanopia (blue-blind)
#8D304C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862b75;
/* rgb */ color: rgb(134, 43, 117);
/* oklch */ color: oklch(45.2% 0.151 336.1);
Tailwind
colors: {
  custom: {
    50: '#ac6c9d',
    500: '#862b75',
    950: '#000000',
  },
}
SCSS
$custom: #862b75;
$custom-light: #ac6c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#862b75",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 311.209,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45219,
    "c": 0.15136,
    "h": 336.1
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#862B75
secondary
#5BB26B
accent
#DB674D
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #862B75

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

Preview Lab → · Contrast checker → · Palette generator →

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