#852871#852871

#852871 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.5% C 0.152 H 337.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#852871
RGBrgb(133, 40, 113)
HSLhsl(313, 54%, 34%)
HSVhsv(313, 70%, 52%)
CMYKcmyk(0%, 69.9%, 15%, 47.8%)
CIE-LABlab(33.34, 47.62, -21.33)
CIE-LCHlch(33.34, 52.18, 335.87°)
OKLaboklab(44.54% 0.1403 -0.0578)
OKLCHoklch(44.54% 0.152 337.6)
XYZxyz(13.4125, 7.6976, 16.3990)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852871 #28853C
analogous
#6B2885 #852871 #852843
triadic
#852871 #718528 #287185
tetradic
#852871 #856B28 #28853C #284385
square
#852871 #856B28 #28853C #284385
split-complementary
#852871 #438528 #28856B
monochromatic
#270C21 #561A49 #852871 #B43699 #CD5AB5

Accessibility & contrast

On white

8.27
#852871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#852871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852871
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852871#FFFFFF#000000##FFFFFF
##8528711.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4573
Deuteranopia (green-blind)
#49546F
Tritanopia (blue-blind)
#8C2D49
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #852871;
/* rgb */ color: rgb(133, 40, 113);
/* oklch */ color: oklch(44.5% 0.152 337.6);
Tailwind
colors: {
  custom: {
    50: '#ac6a9a',
    500: '#852871',
    950: '#000000',
  },
}
SCSS
$custom: #852871;
$custom-light: #ac6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#852871",
  "rgb": {
    "r": 133,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 312.903,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44536,
    "c": 0.15178,
    "h": 337.6
  },
  "luminance": 0.07696
}

Semantic roles & 50–950 ramp

primary
#852871
secondary
#56B36A
accent
#DD6A4B
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #852871

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

Preview Lab → · Contrast checker → · Palette generator →

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