#852174#852174

#852174 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 44.0% C 0.163 H 335.8°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#852174
RGBrgb(133, 33, 116)
HSLhsl(310, 60%, 33%)
HSVhsv(310, 75%, 52%)
CMYKcmyk(0%, 75.2%, 12.8%, 47.8%)
CIE-LABlab(32.56, 50.72, -24.46)
CIE-LCHlch(32.56, 56.31, 334.26°)
OKLaboklab(44.02% 0.1485 -0.0667)
OKLCHoklch(44.02% 0.163 335.8)
XYZxyz(13.3693, 7.3364, 17.2316)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852174 #218532
analogous
#642185 #852174 #852142
triadic
#852174 #748521 #217485
tetradic
#852174 #856421 #218532 #214285
square
#852174 #856421 #218532 #214285
split-complementary
#852174 #428521 #218564
monochromatic
#23091E #541549 #852174 #B62D9F #D34DBC

Accessibility & contrast

On white

8.51
#852174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#852174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852174
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852174#FFFFFF#000000##FFFFFF
##8521741.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#455272
Tritanopia (blue-blind)
#8C2848
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #852174;
/* rgb */ color: rgb(133, 33, 116);
/* oklch */ color: oklch(44.0% 0.163 335.8);
Tailwind
colors: {
  custom: {
    50: '#ac679c',
    500: '#852174',
    950: '#000000',
  },
}
SCSS
$custom: #852174;
$custom-light: #ac679c;
$custom-dark: #000000;
JSON
{
  "hex": "#852174",
  "rgb": {
    "r": 133,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 310.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44016,
    "c": 0.16283,
    "h": 335.8
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#852174
secondary
#4CB65E
accent
#E35F44
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #852174

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

Preview Lab → · Contrast checker → · Palette generator →

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