#851871#851871

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

Color values

HEX#851871
RGBrgb(133, 24, 113)
HSLhsl(311, 69%, 31%)
HSVhsv(311, 82%, 52%)
CMYKcmyk(0%, 82%, 15%, 47.8%)
CIE-LABlab(31.42, 53.07, -24.33)
CIE-LCHlch(31.42, 58.38, 335.37°)
OKLaboklab(43.15% 0.1566 -0.0663)
OKLCHoklch(43.15% 0.17 337.1)
XYZxyz(12.9804, 6.8333, 16.2549)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851871 #18852C
analogous
#621885 #851871 #85183A
triadic
#851871 #718518 #187185
tetradic
#851871 #856218 #18852C #183A85
square
#851871 #856218 #18852C #183A85
split-complementary
#851871 #3A8518 #188562
monochromatic
#1D0519 #510F45 #851871 #B9219D #DC3CBE

Accessibility & contrast

On white

8.87
#851871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#851871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851871
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851871#FFFFFF#000000##FFFFFF
##8518711.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #851871;
/* rgb */ color: rgb(133, 24, 113);
/* oklch */ color: oklch(43.1% 0.170 337.1);
Tailwind
colors: {
  custom: {
    50: '#ac649a',
    500: '#851871',
    950: '#000000',
  },
}
SCSS
$custom: #851871;
$custom-light: #ac649a;
$custom-dark: #000000;
JSON
{
  "hex": "#851871",
  "rgb": {
    "r": 133,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 311.009,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43148,
    "c": 0.17009,
    "h": 337.1
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#851871
secondary
#40B956
accent
#EC5C3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851871

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

Preview Lab → · Contrast checker → · Palette generator →

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