#831F52#831F52

#831F52 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.143 H 354.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#831F52
RGBrgb(131, 31, 82)
HSLhsl(329, 62%, 32%)
HSVhsv(329, 76%, 51%)
CMYKcmyk(0%, 76.3%, 37.4%, 48.6%)
CIE-LABlab(30.44, 46.23, -5.81)
CIE-LCHlch(30.44, 46.59, 352.83°)
OKLaboklab(41.91% 0.1418 -0.0148)
OKLCHoklch(41.91% 0.143 354)
XYZxyz(11.3738, 6.4158, 8.6204)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F52 #1F8350
analogous
#821F83 #831F52 #831F20
triadic
#831F52 #52831F #1F5283
tetradic
#831F52 #83821F #1F8350 #1F2083
square
#831F52 #83821F #1F8350 #1F2083
split-complementary
#831F52 #20831F #1F8382
monochromatic
#200814 #521333 #831F52 #B42B71 #D44990

Accessibility & contrast

On white

9.20
#831F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#831F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F52
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F52#FFFFFF#000000##FFFFFF
##831F521.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4E4E50
Tritanopia (blue-blind)
#8E1535
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831f52;
/* rgb */ color: rgb(131, 31, 82);
/* oklch */ color: oklch(41.9% 0.143 354.0);
Tailwind
colors: {
  custom: {
    50: '#ab6582',
    500: '#831f52',
    950: '#000000',
  },
}
SCSS
$custom: #831f52;
$custom-light: #ab6582;
$custom-dark: #000000;
JSON
{
  "hex": "#831f52",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 329.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41913,
    "c": 0.14257,
    "h": 354
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#831F52
secondary
#48B67E
accent
#E59243
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831F52

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

Preview Lab → · Contrast checker → · Palette generator →

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