#831A5B#831A5B

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

Color values

HEX#831A5B
RGBrgb(131, 26, 91)
HSLhsl(323, 67%, 31%)
HSVhsv(323, 80%, 51%)
CMYKcmyk(0%, 80.2%, 30.5%, 48.6%)
CIE-LABlab(30.21, 48.97, -12.06)
CIE-LCHlch(30.21, 50.44, 346.17°)
OKLaboklab(41.86% 0.1495 -0.0317)
OKLCHoklch(41.86% 0.153 348)
XYZxyz(11.6184, 6.3208, 10.5037)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A5B #1A8342
analogous
#761A83 #831A5B #831A26
triadic
#831A5B #5B831A #1A5B83
tetradic
#831A5B #83761A #1A8342 #1A2683
square
#831A5B #83761A #1A8342 #1A2683
split-complementary
#831A5B #26831A #1A8376
monochromatic
#1D0614 #501038 #831A5B #B6247E #D93F9E

Accessibility & contrast

On white

9.28
#831A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831A5B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A5B#FFFFFF#000000##FFFFFF
##831A5B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831a5b;
/* rgb */ color: rgb(131, 26, 91);
/* oklch */ color: oklch(41.9% 0.153 348.0);
Tailwind
colors: {
  custom: {
    50: '#ab6389',
    500: '#831a5b',
    950: '#000000',
  },
}
SCSS
$custom: #831a5b;
$custom-light: #ab6389;
$custom-dark: #000000;
JSON
{
  "hex": "#831a5b",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 322.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.15279,
    "h": 348
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#831A5B
secondary
#42B76F
accent
#EA7F3E
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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