#831A5A#831A5A

#831A5A is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.152 H 348.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#831A5A
RGBrgb(131, 26, 90)
HSLhsl(323, 67%, 31%)
HSVhsv(323, 80%, 51%)
CMYKcmyk(0%, 80.2%, 31.3%, 48.6%)
CIE-LABlab(30.17, 48.85, -11.47)
CIE-LCHlch(30.17, 50.18, 346.79°)
OKLaboklab(41.82% 0.1492 -0.0301)
OKLCHoklch(41.82% 0.152 348.6)
XYZxyz(11.5755, 6.3036, 10.2780)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A5A #1A8343
analogous
#771A83 #831A5A #831A25
triadic
#831A5A #5A831A #1A5A83
tetradic
#831A5A #83771A #1A8343 #1A2583
square
#831A5A #83771A #1A8343 #1A2583
split-complementary
#831A5A #25831A #1A8377
monochromatic
#1D0614 #501037 #831A5A #B6247D #D93F9D

Accessibility & contrast

On white

9.29
#831A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831A5A
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A5A#FFFFFF#000000##FFFFFF
##831A5A1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3B5C
Deuteranopia (green-blind)
#4A4E58
Tritanopia (blue-blind)
#8D1438
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831a5a;
/* rgb */ color: rgb(131, 26, 90);
/* oklch */ color: oklch(41.8% 0.152 348.6);
Tailwind
colors: {
  custom: {
    50: '#ab6388',
    500: '#831a5a',
    950: '#000000',
  },
}
SCSS
$custom: #831a5a;
$custom-light: #ab6388;
$custom-dark: #000000;
JSON
{
  "hex": "#831a5a",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 323.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.15223,
    "h": 348.6
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#831A5A
secondary
#42B770
accent
#EA813E
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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