#852271#852271

#852271 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.159 H 337.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#852271
RGBrgb(133, 34, 113)
HSLhsl(312, 59%, 33%)
HSVhsv(312, 74%, 52%)
CMYKcmyk(0%, 74.4%, 15%, 47.8%)
CIE-LABlab(32.53, 49.90, -22.60)
CIE-LCHlch(32.53, 54.78, 335.64°)
OKLaboklab(43.95% 0.1472 -0.0614)
OKLCHoklch(43.95% 0.159 337.4)
XYZxyz(13.2258, 7.3241, 16.3367)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852271 #228536
analogous
#672285 #852271 #852240
triadic
#852271 #718522 #227185
tetradic
#852271 #856722 #228536 #224085
square
#852271 #856722 #228536 #224085
split-complementary
#852271 #408522 #228567
monochromatic
#24091E #541648 #852271 #B62E9A #D24FB8

Accessibility & contrast

On white

8.52
#852271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#852271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852271
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852271#FFFFFF#000000##FFFFFF
##8522711.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#47526F
Tritanopia (blue-blind)
#8C2847
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #852271;
/* rgb */ color: rgb(133, 34, 113);
/* oklch */ color: oklch(43.9% 0.159 337.4);
Tailwind
colors: {
  custom: {
    50: '#ac679a',
    500: '#852271',
    950: '#000000',
  },
}
SCSS
$custom: #852271;
$custom-light: #ac679a;
$custom-dark: #000000;
JSON
{
  "hex": "#852271",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 312.121,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43947,
    "c": 0.15945,
    "h": 337.4
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#852271
secondary
#4DB662
accent
#E26545
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #852271

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

Preview Lab → · Contrast checker → · Palette generator →

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