#831D57#831D57

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

Color values

HEX#831D57
RGBrgb(131, 29, 87)
HSLhsl(326, 64%, 31%)
HSVhsv(326, 78%, 51%)
CMYKcmyk(0%, 77.9%, 33.6%, 48.6%)
CIE-LABlab(30.38, 47.51, -9.17)
CIE-LCHlch(30.38, 48.39, 349.07°)
OKLaboklab(41.94% 0.1454 -0.0239)
OKLCHoklch(41.94% 0.147 350.7)
XYZxyz(11.5204, 6.3935, 9.6424)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D57 #1D8349
analogous
#7C1D83 #831D57 #831D24
triadic
#831D57 #57831D #1D5783
tetradic
#831D57 #837C1D #1D8349 #1D2483
square
#831D57 #837C1D #1D8349 #1D2483
split-complementary
#831D57 #24831D #1D837C
monochromatic
#1F0714 #511236 #831D57 #B52878 #D64597

Accessibility & contrast

On white

9.22
#831D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831D57
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D57#FFFFFF#000000##FFFFFF
##831D571.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3C59
Deuteranopia (green-blind)
#4C4E55
Tritanopia (blue-blind)
#8D1537
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831d57;
/* rgb */ color: rgb(131, 29, 87);
/* oklch */ color: oklch(41.9% 0.147 350.7);
Tailwind
colors: {
  custom: {
    50: '#ab6486',
    500: '#831d57',
    950: '#000000',
  },
}
SCSS
$custom: #831d57;
$custom-light: #ab6486;
$custom-dark: #000000;
JSON
{
  "hex": "#831d57",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 87
  },
  "hsl": {
    "h": 325.882,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41936,
    "c": 0.14736,
    "h": 350.7
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#831D57
secondary
#46B676
accent
#E78941
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831D57

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

Preview Lab → · Contrast checker → · Palette generator →

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