#862A75#862A75

#862A75 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.1% C 0.153 H 336.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#862A75
RGBrgb(134, 42, 117)
HSLhsl(311, 52%, 35%)
HSVhsv(311, 69%, 53%)
CMYKcmyk(0%, 68.7%, 12.7%, 47.5%)
CIE-LABlab(34.00, 47.71, -22.82)
CIE-LCHlch(34.00, 52.89, 334.44°)
OKLaboklab(45.11% 0.1396 -0.0621)
OKLCHoklch(45.11% 0.153 336)
XYZxyz(13.8705, 8.0098, 17.6417)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A75 #2A863B
analogous
#692A86 #862A75 #862A47
triadic
#862A75 #75862A #2A7586
tetradic
#862A75 #86692A #2A863B #2A4786
square
#862A75 #86692A #2A863B #2A4786
split-complementary
#862A75 #47862A #2A8669
monochromatic
#290D24 #571B4C #862A75 #B5399E #CD5EB8

Accessibility & contrast

On white

8.07
#862A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#862A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A75
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A75#FFFFFF#000000##FFFFFF
##862A751.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4777
Deuteranopia (green-blind)
#495573
Tritanopia (blue-blind)
#8D304B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862a75;
/* rgb */ color: rgb(134, 42, 117);
/* oklch */ color: oklch(45.1% 0.153 336.0);
Tailwind
colors: {
  custom: {
    50: '#ac6b9d',
    500: '#862a75',
    950: '#000000',
  },
}
SCSS
$custom: #862a75;
$custom-light: #ac6b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#862a75",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 311.087,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.15275,
    "h": 336
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#862A75
secondary
#5AB26A
accent
#DC674C
background
#FAF6F9
surface
#F5ECF2
border
#CFC7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862A75

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

Preview Lab → · Contrast checker → · Palette generator →

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