#831D52#831D52

#831D52 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.145 H 353.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#831D52
RGBrgb(131, 29, 82)
HSLhsl(329, 64%, 31%)
HSVhsv(329, 78%, 51%)
CMYKcmyk(0%, 77.9%, 37.4%, 48.6%)
CIE-LABlab(30.19, 46.92, -6.18)
CIE-LCHlch(30.19, 47.32, 352.50°)
OKLaboklab(41.73% 0.144 -0.0158)
OKLCHoklch(41.73% 0.145 353.8)
XYZxyz(11.3232, 6.3146, 8.6036)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D52 #1D834E
analogous
#811D83 #831D52 #831D1F
triadic
#831D52 #52831D #1D5283
tetradic
#831D52 #83811D #1D834E #1D1F83
square
#831D52 #83811D #1D834E #1D1F83
split-complementary
#831D52 #1F831D #1D8381
monochromatic
#1F0713 #511233 #831D52 #B52871 #D64590

Accessibility & contrast

On white

9.28
#831D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#831D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D52
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D52#FFFFFF#000000##FFFFFF
##831D521.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B53
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#8E1235
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831d52;
/* rgb */ color: rgb(131, 29, 82);
/* oklch */ color: oklch(41.7% 0.145 353.8);
Tailwind
colors: {
  custom: {
    50: '#ab6482',
    500: '#831d52',
    950: '#000000',
  },
}
SCSS
$custom: #831d52;
$custom-light: #ab6482;
$custom-dark: #000000;
JSON
{
  "hex": "#831d52",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 328.824,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41734,
    "c": 0.14485,
    "h": 353.8
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#831D52
secondary
#46B67C
accent
#E79141
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831D52

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

Preview Lab → · Contrast checker → · Palette generator →

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