#831C52#831C52

#831C52 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.146 H 353.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#831C52
RGBrgb(131, 28, 82)
HSLhsl(329, 65%, 31%)
HSVhsv(329, 79%, 51%)
CMYKcmyk(0%, 78.6%, 37.4%, 48.6%)
CIE-LABlab(30.07, 47.25, -6.36)
CIE-LCHlch(30.07, 47.68, 352.34°)
OKLaboklab(41.65% 0.1451 -0.0162)
OKLCHoklch(41.65% 0.146 353.6)
XYZxyz(11.2990, 6.2664, 8.5955)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C52 #1C834D
analogous
#801C83 #831C52 #831C1E
triadic
#831C52 #52831C #1C5283
tetradic
#831C52 #83801C #1C834D #1C1E83
square
#831C52 #83801C #1C834D #1C1E83
split-complementary
#831C52 #1E831C #1C8380
monochromatic
#1E0613 #511132 #831C52 #B52772 #D74390

Accessibility & contrast

On white

9.32
#831C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#831C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C52
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C52#FFFFFF#000000##FFFFFF
##831C521.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831c52;
/* rgb */ color: rgb(131, 28, 82);
/* oklch */ color: oklch(41.6% 0.146 353.6);
Tailwind
colors: {
  custom: {
    50: '#ab6382',
    500: '#831c52',
    950: '#000000',
  },
}
SCSS
$custom: #831c52;
$custom-light: #ab6382;
$custom-dark: #000000;
JSON
{
  "hex": "#831c52",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 328.544,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41647,
    "c": 0.14596,
    "h": 353.6
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#831C52
secondary
#45B67B
accent
#E89040
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831C52

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

Preview Lab → · Contrast checker → · Palette generator →

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