#851B71#851B71

#851B71 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.4% C 0.167 H 337.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#851B71
RGBrgb(133, 27, 113)
HSLhsl(311, 66%, 31%)
HSVhsv(311, 80%, 52%)
CMYKcmyk(0%, 79.7%, 15%, 47.8%)
CIE-LABlab(31.72, 52.21, -23.86)
CIE-LCHlch(31.72, 57.40, 335.44°)
OKLaboklab(43.36% 0.1541 -0.065)
OKLCHoklch(43.36% 0.167 337.1)
XYZxyz(13.0457, 6.9639, 16.2767)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851B71 #1B852F
analogous
#641B85 #851B71 #851B3C
triadic
#851B71 #71851B #1B7185
tetradic
#851B71 #85641B #1B852F #1B3C85
square
#851B71 #85641B #1B852F #1B3C85
split-complementary
#851B71 #3C851B #1B8564
monochromatic
#1F061B #521146 #851B71 #B8259C #D942BC

Accessibility & contrast

On white

8.78
#851B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#851B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851B71
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851B71#FFFFFF#000000##FFFFFF
##851B711.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4073
Deuteranopia (green-blind)
#44506F
Tritanopia (blue-blind)
#8C2245
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #851b71;
/* rgb */ color: rgb(133, 27, 113);
/* oklch */ color: oklch(43.4% 0.167 337.1);
Tailwind
colors: {
  custom: {
    50: '#ac659a',
    500: '#851b71',
    950: '#000000',
  },
}
SCSS
$custom: #851b71;
$custom-light: #ac659a;
$custom-dark: #000000;
JSON
{
  "hex": "#851b71",
  "rgb": {
    "r": 133,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 311.321,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43364,
    "c": 0.16719,
    "h": 337.1
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#851B71
secondary
#44B85A
accent
#E95F3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #851B71

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

Preview Lab → · Contrast checker → · Palette generator →

#851B71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva