#862172#862172

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

Color values

HEX#862172
RGBrgb(134, 33, 114)
HSLhsl(312, 60%, 33%)
HSVhsv(312, 75%, 53%)
CMYKcmyk(0%, 75.4%, 14.9%, 47.5%)
CIE-LABlab(32.64, 50.66, -23.05)
CIE-LCHlch(32.64, 55.66, 335.53°)
OKLaboklab(44.07% 0.1494 -0.0627)
OKLCHoklch(44.07% 0.162 337.2)
XYZxyz(13.4129, 7.3722, 16.6329)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862172 #218635
analogous
#672186 #862172 #862140
triadic
#862172 #728621 #217286
tetradic
#862172 #866721 #218635 #214086
square
#862172 #866721 #218635 #214086
split-complementary
#862172 #408621 #218667
monochromatic
#24091E #551548 #862172 #B72D9C #D34EB9

Accessibility & contrast

On white

8.49
#862172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#862172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862172
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862172#FFFFFF#000000##FFFFFF
##8621721.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#475270
Tritanopia (blue-blind)
#8D2747
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #862172;
/* rgb */ color: rgb(134, 33, 114);
/* oklch */ color: oklch(44.1% 0.162 337.2);
Tailwind
colors: {
  custom: {
    50: '#ad679b',
    500: '#862172',
    950: '#000000',
  },
}
SCSS
$custom: #862172;
$custom-light: #ad679b;
$custom-dark: #000000;
JSON
{
  "hex": "#862172",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 311.881,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44074,
    "c": 0.16198,
    "h": 337.2
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#862172
secondary
#4CB761
accent
#E46444
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862172

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

Preview Lab → · Contrast checker → · Palette generator →

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