#831F56#831F56

#831F56 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.145 H 351.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#831F56
RGBrgb(131, 31, 86)
HSLhsl(327, 62%, 32%)
HSVhsv(327, 76%, 51%)
CMYKcmyk(0%, 76.3%, 34.4%, 48.6%)
CIE-LABlab(30.59, 46.70, -8.21)
CIE-LCHlch(30.59, 47.42, 350.03°)
OKLaboklab(42.07% 0.143 -0.0213)
OKLCHoklch(42.07% 0.145 351.5)
XYZxyz(11.5304, 6.4785, 9.4456)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F56 #1F834C
analogous
#7E1F83 #831F56 #831F24
triadic
#831F56 #56831F #1F5683
tetradic
#831F56 #837E1F #1F834C #1F2483
square
#831F56 #837E1F #1F834C #1F2483
split-complementary
#831F56 #24831F #1F837E
monochromatic
#200815 #521336 #831F56 #B42B76 #D44995

Accessibility & contrast

On white

9.15
#831F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#831F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F56
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F56#FFFFFF#000000##FFFFFF
##831F561.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D57
Deuteranopia (green-blind)
#4D4F54
Tritanopia (blue-blind)
#8D1737
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831f56;
/* rgb */ color: rgb(131, 31, 86);
/* oklch */ color: oklch(42.1% 0.145 351.5);
Tailwind
colors: {
  custom: {
    50: '#ab6585',
    500: '#831f56',
    950: '#000000',
  },
}
SCSS
$custom: #831f56;
$custom-light: #ab6585;
$custom-dark: #000000;
JSON
{
  "hex": "#831f56",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 86
  },
  "hsl": {
    "h": 327,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42073,
    "c": 0.14454,
    "h": 351.5
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#831F56
secondary
#48B679
accent
#E58C43
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831F56

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

Preview Lab → · Contrast checker → · Palette generator →

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