#851772#851772

#851772 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.1% C 0.172 H 336.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#851772
RGBrgb(133, 23, 114)
HSLhsl(310, 71%, 31%)
HSVhsv(310, 83%, 52%)
CMYKcmyk(0%, 82.7%, 14.3%, 47.8%)
CIE-LABlab(31.38, 53.49, -25.03)
CIE-LCHlch(31.38, 59.06, 334.92°)
OKLaboklab(43.14% 0.1575 -0.0683)
OKLCHoklch(43.14% 0.172 336.6)
XYZxyz(13.0168, 6.8155, 16.5463)
Luminance0.0681 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851772 #17852A
analogous
#611785 #851772 #85173B
triadic
#851772 #728517 #177285
tetradic
#851772 #856117 #17852A #173B85
square
#851772 #856117 #17852A #173B85
split-complementary
#851772 #3B8517 #178561
monochromatic
#1D0519 #510E45 #851772 #B9209F #DD3AC1

Accessibility & contrast

On white

8.89
#851772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#851772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851772
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851772#FFFFFF#000000##FFFFFF
##8517721.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F74
Deuteranopia (green-blind)
#425070
Tritanopia (blue-blind)
#8C2044
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #851772;
/* rgb */ color: rgb(133, 23, 114);
/* oklch */ color: oklch(43.1% 0.172 336.6);
Tailwind
colors: {
  custom: {
    50: '#ac639b',
    500: '#851772',
    950: '#000000',
  },
}
SCSS
$custom: #851772;
$custom-light: #ac639b;
$custom-dark: #000000;
JSON
{
  "hex": "#851772",
  "rgb": {
    "r": 133,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 310.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43136,
    "c": 0.1717,
    "h": 336.6
  },
  "luminance": 0.06814
}

Semantic roles & 50–950 ramp

primary
#851772
secondary
#3FB954
accent
#ED593B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851772

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

Preview Lab → · Contrast checker → · Palette generator →

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