#851771#851771

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

Color values

HEX#851771
RGBrgb(133, 23, 113)
HSLhsl(311, 71%, 31%)
HSVhsv(311, 83%, 52%)
CMYKcmyk(0%, 82.7%, 15%, 47.8%)
CIE-LABlab(31.33, 53.34, -24.48)
CIE-LCHlch(31.33, 58.69, 335.35°)
OKLaboklab(43.08% 0.1575 -0.0667)
OKLCHoklch(43.08% 0.171 337)
XYZxyz(12.9602, 6.7928, 16.2482)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851771 #17852B
analogous
#621785 #851771 #85173A
triadic
#851771 #718517 #177185
tetradic
#851771 #856217 #17852B #173A85
square
#851771 #856217 #17852B #173A85
split-complementary
#851771 #3A8517 #178562
monochromatic
#1D0518 #510E45 #851771 #B9209D #DD3ABF

Accessibility & contrast

On white

8.90
#851771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #851771
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851771#FFFFFF#000000##FFFFFF
##8517711.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F73
Deuteranopia (green-blind)
#43506F
Tritanopia (blue-blind)
#8D1F44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #851771;
/* rgb */ color: rgb(133, 23, 113);
/* oklch */ color: oklch(43.1% 0.171 337.0);
Tailwind
colors: {
  custom: {
    50: '#ac639a',
    500: '#851771',
    950: '#000000',
  },
}
SCSS
$custom: #851771;
$custom-light: #ac639a;
$custom-dark: #000000;
JSON
{
  "hex": "#851771",
  "rgb": {
    "r": 133,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 310.909,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.43081,
    "c": 0.171,
    "h": 337
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#851771
secondary
#3FB955
accent
#ED5B3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851771

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

Preview Lab → · Contrast checker → · Palette generator →

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