#862272#862272

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

Color values

HEX#862272
RGBrgb(134, 34, 114)
HSLhsl(312, 60%, 33%)
HSVhsv(312, 75%, 53%)
CMYKcmyk(0%, 74.6%, 14.9%, 47.5%)
CIE-LABlab(32.76, 50.31, -22.86)
CIE-LCHlch(32.76, 55.26, 335.56°)
OKLaboklab(44.16% 0.1483 -0.0621)
OKLCHoklch(44.16% 0.161 337.3)
XYZxyz(13.4411, 7.4285, 16.6423)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862272 #228636
analogous
#682286 #862272 #862240
triadic
#862272 #728622 #227286
tetradic
#862272 #866822 #228636 #224086
square
#862272 #866822 #228636 #224086
split-complementary
#862272 #408622 #228668
monochromatic
#24091F #551648 #862272 #B72E9C #D350B8

Accessibility & contrast

On white

8.45
#862272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#862272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862272
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862272#FFFFFF#000000##FFFFFF
##8622721.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#475370
Tritanopia (blue-blind)
#8D2847
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #862272;
/* rgb */ color: rgb(134, 34, 114);
/* oklch */ color: oklch(44.2% 0.161 337.3);
Tailwind
colors: {
  custom: {
    50: '#ad679b',
    500: '#862272',
    950: '#000000',
  },
}
SCSS
$custom: #862272;
$custom-light: #ad679b;
$custom-dark: #000000;
JSON
{
  "hex": "#862272",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 312,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44164,
    "c": 0.1608,
    "h": 337.3
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#862272
secondary
#4EB663
accent
#E36545
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862272

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

Preview Lab → · Contrast checker → · Palette generator →

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