#831A56#831A56

#831A56 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.150 H 350.9°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#831A56
RGBrgb(131, 26, 86)
HSLhsl(326, 67%, 31%)
HSVhsv(326, 80%, 51%)
CMYKcmyk(0%, 80.2%, 34.4%, 48.6%)
CIE-LABlab(30.00, 48.36, -9.09)
CIE-LCHlch(30.00, 49.21, 349.35°)
OKLaboklab(41.65% 0.1482 -0.0236)
OKLCHoklch(41.65% 0.15 350.9)
XYZxyz(11.4099, 6.2373, 9.4054)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A56 #1A8347
analogous
#7B1A83 #831A56 #831A22
triadic
#831A56 #56831A #1A5683
tetradic
#831A56 #837B1A #1A8347 #1A2283
square
#831A56 #837B1A #1A8347 #1A2283
split-complementary
#831A56 #22831A #1A837B
monochromatic
#1D0613 #501034 #831A56 #B62478 #D93F97

Accessibility & contrast

On white

9.34
#831A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#831A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A56
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A56#FFFFFF#000000##FFFFFF
##831A561.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B58
Deuteranopia (green-blind)
#4B4D54
Tritanopia (blue-blind)
#8D1136
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831a56;
/* rgb */ color: rgb(131, 26, 86);
/* oklch */ color: oklch(41.6% 0.150 350.9);
Tailwind
colors: {
  custom: {
    50: '#ab6385',
    500: '#831a56',
    950: '#000000',
  },
}
SCSS
$custom: #831a56;
$custom-light: #ab6385;
$custom-dark: #000000;
JSON
{
  "hex": "#831a56",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 325.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41646,
    "c": 0.15007,
    "h": 350.9
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#831A56
secondary
#42B774
accent
#EA883E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831A56

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

Preview Lab → · Contrast checker → · Palette generator →

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