#831B5B#831B5B

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

Color values

HEX#831B5B
RGBrgb(131, 27, 91)
HSLhsl(323, 66%, 31%)
HSVhsv(323, 79%, 51%)
CMYKcmyk(0%, 79.4%, 30.5%, 48.6%)
CIE-LABlab(30.32, 48.66, -11.89)
CIE-LCHlch(30.32, 50.09, 346.27°)
OKLaboklab(41.94% 0.1485 -0.0313)
OKLCHoklch(41.94% 0.152 348.1)
XYZxyz(11.6409, 6.3658, 10.5112)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B5B #1B8343
analogous
#771B83 #831B5B #831B27
triadic
#831B5B #5B831B #1B5B83
tetradic
#831B5B #83771B #1B8343 #1B2783
square
#831B5B #83771B #1B8343 #1B2783
split-complementary
#831B5B #27831B #1B8377
monochromatic
#1E0615 #501138 #831B5B #B6257E #D8419E

Accessibility & contrast

On white

9.24
#831B5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B5B
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B5B#FFFFFF#000000##FFFFFF
##831B5B1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5D
Deuteranopia (green-blind)
#4A4E59
Tritanopia (blue-blind)
#8D1639
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831b5b;
/* rgb */ color: rgb(131, 27, 91);
/* oklch */ color: oklch(41.9% 0.152 348.1);
Tailwind
colors: {
  custom: {
    50: '#ab6389',
    500: '#831b5b',
    950: '#000000',
  },
}
SCSS
$custom: #831b5b;
$custom-light: #ab6389;
$custom-dark: #000000;
JSON
{
  "hex": "#831b5b",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 91
  },
  "hsl": {
    "h": 323.077,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41941,
    "c": 0.15174,
    "h": 348.1
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#831B5B
secondary
#43B670
accent
#E9803F
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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