#831B5A#831B5A

#831B5A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.151 H 348.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#831B5A
RGBrgb(131, 27, 90)
HSLhsl(324, 66%, 31%)
HSVhsv(324, 79%, 51%)
CMYKcmyk(0%, 79.4%, 31.3%, 48.6%)
CIE-LABlab(30.28, 48.54, -11.30)
CIE-LCHlch(30.28, 49.83, 346.89°)
OKLaboklab(41.9% 0.1482 -0.0297)
OKLCHoklch(41.9% 0.151 348.7)
XYZxyz(11.5981, 6.3487, 10.2855)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B5A #1B8344
analogous
#781B83 #831B5A #831B26
triadic
#831B5A #5A831B #1B5A83
tetradic
#831B5A #83781B #1B8344 #1B2683
square
#831B5A #83781B #1B8344 #1B2683
split-complementary
#831B5A #26831B #1B8378
monochromatic
#1E0614 #501137 #831B5A #B6257D #D8419C

Accessibility & contrast

On white

9.25
#831B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#831B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B5A
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B5A#FFFFFF#000000##FFFFFF
##831B5A1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3C5C
Deuteranopia (green-blind)
#4B4E58
Tritanopia (blue-blind)
#8D1538
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831b5a;
/* rgb */ color: rgb(131, 27, 90);
/* oklch */ color: oklch(41.9% 0.151 348.7);
Tailwind
colors: {
  custom: {
    50: '#ab6388',
    500: '#831b5a',
    950: '#000000',
  },
}
SCSS
$custom: #831b5a;
$custom-light: #ab6388;
$custom-dark: #000000;
JSON
{
  "hex": "#831b5a",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 323.654,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41897,
    "c": 0.15118,
    "h": 348.7
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#831B5A
secondary
#43B671
accent
#E9823F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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