#831F57#831F57

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

Color values

HEX#831F57
RGBrgb(131, 31, 87)
HSLhsl(326, 62%, 32%)
HSVhsv(326, 76%, 51%)
CMYKcmyk(0%, 76.3%, 33.6%, 48.6%)
CIE-LABlab(30.63, 46.83, -8.81)
CIE-LCHlch(30.63, 47.65, 349.35°)
OKLaboklab(42.11% 0.1432 -0.0229)
OKLCHoklch(42.11% 0.145 350.9)
XYZxyz(11.5710, 6.4947, 9.6592)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F57 #1F834B
analogous
#7D1F83 #831F57 #831F25
triadic
#831F57 #57831F #1F5783
tetradic
#831F57 #837D1F #1F834B #1F2583
square
#831F57 #837D1F #1F834B #1F2583
split-complementary
#831F57 #25831F #1F837D
monochromatic
#200815 #521336 #831F57 #B42B78 #D44997

Accessibility & contrast

On white

9.14
#831F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831F57
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F57#FFFFFF#000000##FFFFFF
##831F571.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303D58
Deuteranopia (green-blind)
#4D4F55
Tritanopia (blue-blind)
#8D1838
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831f57;
/* rgb */ color: rgb(131, 31, 87);
/* oklch */ color: oklch(42.1% 0.145 350.9);
Tailwind
colors: {
  custom: {
    50: '#ab6586',
    500: '#831f57',
    950: '#000000',
  },
}
SCSS
$custom: #831f57;
$custom-light: #ab6586;
$custom-dark: #000000;
JSON
{
  "hex": "#831f57",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 326.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42114,
    "c": 0.14506,
    "h": 350.9
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#831F57
secondary
#48B678
accent
#E58A43
background
#FAF6F8
surface
#F5EBEF
border
#CFC6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831F57

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

Preview Lab → · Contrast checker → · Palette generator →

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