#831E52#831E52

#831E52 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.144 H 353.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#831E52
RGBrgb(131, 30, 82)
HSLhsl(329, 63%, 32%)
HSVhsv(329, 77%, 51%)
CMYKcmyk(0%, 77.1%, 37.4%, 48.6%)
CIE-LABlab(30.31, 46.58, -6.00)
CIE-LCHlch(30.31, 46.96, 352.66°)
OKLaboklab(41.82% 0.1429 -0.0153)
OKLCHoklch(41.82% 0.144 353.9)
XYZxyz(11.3481, 6.3644, 8.6119)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E52 #1E834F
analogous
#821E83 #831E52 #831E20
triadic
#831E52 #52831E #1E5283
tetradic
#831E52 #83821E #1E834F #1E2083
square
#831E52 #83821E #1E834F #1E2083
split-complementary
#831E52 #20831E #1E8382
monochromatic
#1F0714 #511333 #831E52 #B52971 #D54790

Accessibility & contrast

On white

9.24
#831E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#831E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E52
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E52#FFFFFF#000000##FFFFFF
##831E521.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313C53
Deuteranopia (green-blind)
#4E4E50
Tritanopia (blue-blind)
#8E1335
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831e52;
/* rgb */ color: rgb(131, 30, 82);
/* oklch */ color: oklch(41.8% 0.144 353.9);
Tailwind
colors: {
  custom: {
    50: '#ab6482',
    500: '#831e52',
    950: '#000000',
  },
}
SCSS
$custom: #831e52;
$custom-light: #ab6482;
$custom-dark: #000000;
JSON
{
  "hex": "#831e52",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 329.109,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41822,
    "c": 0.14372,
    "h": 353.9
  },
  "luminance": 0.06363
}

Semantic roles & 50–950 ramp

primary
#831E52
secondary
#47B67D
accent
#E69142
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831E52

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

Preview Lab → · Contrast checker → · Palette generator →

#831E52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva