#831B56#831B56

#831B56 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.149 H 351.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#831B56
RGBrgb(131, 27, 86)
HSLhsl(326, 66%, 31%)
HSVhsv(326, 79%, 51%)
CMYKcmyk(0%, 79.4%, 34.4%, 48.6%)
CIE-LABlab(30.11, 48.05, -8.93)
CIE-LCHlch(30.11, 48.87, 349.47°)
OKLaboklab(41.73% 0.1472 -0.0232)
OKLCHoklch(41.73% 0.149 351.1)
XYZxyz(11.4324, 6.2824, 9.4129)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B56 #1B8348
analogous
#7C1B83 #831B56 #831B22
triadic
#831B56 #56831B #1B5683
tetradic
#831B56 #837C1B #1B8348 #1B2283
square
#831B56 #837C1B #1B8348 #1B2283
split-complementary
#831B56 #22831B #1B837C
monochromatic
#1E0613 #501135 #831B56 #B62577 #D84196

Accessibility & contrast

On white

9.31
#831B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#831B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B56
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B56#FFFFFF#000000##FFFFFF
##831B561.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B58
Deuteranopia (green-blind)
#4C4E54
Tritanopia (blue-blind)
#8D1236
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831b56;
/* rgb */ color: rgb(131, 27, 86);
/* oklch */ color: oklch(41.7% 0.149 351.1);
Tailwind
colors: {
  custom: {
    50: '#ab6385',
    500: '#831b56',
    950: '#000000',
  },
}
SCSS
$custom: #831b56;
$custom-light: #ab6385;
$custom-dark: #000000;
JSON
{
  "hex": "#831b56",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 86
  },
  "hsl": {
    "h": 325.962,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.14902,
    "h": 351.1
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#831B56
secondary
#43B675
accent
#E9883F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831B56

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

Preview Lab → · Contrast checker → · Palette generator →

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