#862174#862174

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

Color values

HEX#862174
RGBrgb(134, 33, 116)
HSLhsl(311, 60%, 33%)
HSVhsv(311, 75%, 53%)
CMYKcmyk(0%, 75.4%, 13.4%, 47.5%)
CIE-LABlab(32.74, 50.97, -24.16)
CIE-LCHlch(32.74, 56.40, 334.64°)
OKLaboklab(44.18% 0.1496 -0.0658)
OKLCHoklch(44.18% 0.163 336.2)
XYZxyz(13.5280, 7.4182, 17.2390)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862174 #218633
analogous
#652186 #862174 #862141
triadic
#862174 #748621 #217486
tetradic
#862174 #866521 #218633 #214186
square
#862174 #866521 #218633 #214186
split-complementary
#862174 #418621 #218665
monochromatic
#24091F #551549 #862174 #B72D9F #D34EBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862174#FFFFFF#000000##FFFFFF
##8621741.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)
#234376
Deuteranopia (green-blind)
#465272
Tritanopia (blue-blind)
#8D2848
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #862174;
/* rgb */ color: rgb(134, 33, 116);
/* oklch */ color: oklch(44.2% 0.163 336.2);
Tailwind
colors: {
  custom: {
    50: '#ad679c',
    500: '#862174',
    950: '#000000',
  },
}
SCSS
$custom: #862174;
$custom-light: #ad679c;
$custom-dark: #000000;
JSON
{
  "hex": "#862174",
  "rgb": {
    "r": 134,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 310.693,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4418,
    "c": 0.16343,
    "h": 336.2
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#862174
secondary
#4CB75F
accent
#E46144
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862174

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

Preview Lab → · Contrast checker → · Palette generator →

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