#862271#862271

#862271 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.1% C 0.160 H 337.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#862271
RGBrgb(134, 34, 113)
HSLhsl(313, 60%, 33%)
HSVhsv(313, 75%, 53%)
CMYKcmyk(0%, 74.6%, 15.7%, 47.5%)
CIE-LABlab(32.71, 50.16, -22.30)
CIE-LCHlch(32.71, 54.89, 336.03°)
OKLaboklab(44.11% 0.1482 -0.0605)
OKLCHoklch(44.11% 0.16 337.8)
XYZxyz(13.3845, 7.4059, 16.3442)
Luminance0.0741 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862271 #228637
analogous
#692286 #862271 #86223F
triadic
#862271 #718622 #227186
tetradic
#862271 #866922 #228637 #223F86
square
#862271 #866922 #228637 #223F86
split-complementary
#862271 #3F8622 #228669
monochromatic
#24091F #551648 #862271 #B72E9A #D350B7

Accessibility & contrast

On white

8.46
#862271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#862271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862271
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862271#FFFFFF#000000##FFFFFF
##8622711.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#8E2747
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #862271;
/* rgb */ color: rgb(134, 34, 113);
/* oklch */ color: oklch(44.1% 0.160 337.8);
Tailwind
colors: {
  custom: {
    50: '#ad679a',
    500: '#862271',
    950: '#000000',
  },
}
SCSS
$custom: #862271;
$custom-light: #ad679a;
$custom-dark: #000000;
JSON
{
  "hex": "#862271",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 312.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44112,
    "c": 0.16008,
    "h": 337.8
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#862271
secondary
#4EB664
accent
#E36645
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862271

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

Preview Lab → · Contrast checker → · Palette generator →

#862271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva