#851F52#851F52

#851F52 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.144 H 354.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#851F52
RGBrgb(133, 31, 82)
HSLhsl(330, 62%, 32%)
HSVhsv(330, 77%, 52%)
CMYKcmyk(0%, 76.7%, 38.3%, 47.8%)
CIE-LABlab(30.82, 46.80, -5.20)
CIE-LCHlch(30.82, 47.09, 353.66°)
OKLaboklab(42.27% 0.1437 -0.0131)
OKLCHoklch(42.27% 0.144 354.8)
XYZxyz(11.6866, 6.5771, 8.6351)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#851F52 #1F8552
analogous
#851F85 #851F52 #851F1F
triadic
#851F52 #52851F #1F5285
tetradic
#851F52 #85851F #1F8552 #1F1F85
square
#851F52 #85851F #1F8552 #1F1F85
split-complementary
#851F52 #1F851F #1F8585
monochromatic
#220815 #531333 #851F52 #B72B71 #D54A8F

Accessibility & contrast

On white

9.07
#851F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#851F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #851F52
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##851F52#FFFFFF#000000##FFFFFF
##851F521.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#901435
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #851f52;
/* rgb */ color: rgb(133, 31, 82);
/* oklch */ color: oklch(42.3% 0.144 354.8);
Tailwind
colors: {
  custom: {
    50: '#ad6582',
    500: '#851f52',
    950: '#000000',
  },
}
SCSS
$custom: #851f52;
$custom-light: #ad6582;
$custom-dark: #000000;
JSON
{
  "hex": "#851f52",
  "rgb": {
    "r": 133,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 330,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42267,
    "c": 0.14425,
    "h": 354.8
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#851F52
secondary
#49B780
accent
#E59443
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #851F52

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

Preview Lab → · Contrast checker → · Palette generator →

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