#852172#852172

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

Color values

HEX#852172
RGBrgb(133, 33, 114)
HSLhsl(311, 60%, 33%)
HSVhsv(311, 75%, 52%)
CMYKcmyk(0%, 75.2%, 14.3%, 47.8%)
CIE-LABlab(32.46, 50.41, -23.35)
CIE-LCHlch(32.46, 55.55, 335.15°)
OKLaboklab(43.91% 0.1483 -0.0635)
OKLCHoklch(43.91% 0.161 336.8)
XYZxyz(13.2542, 7.2904, 16.6255)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852172 #218534
analogous
#662185 #852172 #852140
triadic
#852172 #728521 #217285
tetradic
#852172 #856621 #218534 #214085
square
#852172 #856621 #218534 #214085
split-complementary
#852172 #408521 #218566
monochromatic
#23091E #541548 #852172 #B62D9C #D34DBA

Accessibility & contrast

On white

8.54
#852172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852172
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852172#FFFFFF#000000##FFFFFF
##8521721.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244374
Deuteranopia (green-blind)
#465270
Tritanopia (blue-blind)
#8C2747
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #852172;
/* rgb */ color: rgb(133, 33, 114);
/* oklch */ color: oklch(43.9% 0.161 336.8);
Tailwind
colors: {
  custom: {
    50: '#ac679b',
    500: '#852172',
    950: '#000000',
  },
}
SCSS
$custom: #852172;
$custom-light: #ac679b;
$custom-dark: #000000;
JSON
{
  "hex": "#852172",
  "rgb": {
    "r": 133,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 311.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4391,
    "c": 0.16135,
    "h": 336.8
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#852172
secondary
#4CB660
accent
#E36344
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #852172

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

Preview Lab → · Contrast checker → · Palette generator →

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