#831A5D#831A5D

#831A5D is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.154 H 346.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#831A5D
RGBrgb(131, 26, 93)
HSLhsl(322, 67%, 31%)
HSVhsv(322, 80%, 51%)
CMYKcmyk(0%, 80.2%, 29%, 48.6%)
CIE-LABlab(30.29, 49.23, -13.23)
CIE-LCHlch(30.29, 50.98, 344.96°)
OKLaboklab(41.95% 0.1499 -0.035)
OKLCHoklch(41.95% 0.154 346.9)
XYZxyz(11.7058, 6.3557, 10.9641)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A5D #1A8340
analogous
#741A83 #831A5D #831A29
triadic
#831A5D #5D831A #1A5D83
tetradic
#831A5D #83741A #1A8340 #1A2983
square
#831A5D #83741A #1A8340 #1A2983
split-complementary
#831A5D #29831A #1A8374
monochromatic
#1D0614 #501039 #831A5D #B62481 #D93FA1

Accessibility & contrast

On white

9.25
#831A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831A5D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A5D#FFFFFF#000000##FFFFFF
##831A5D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5F
Deuteranopia (green-blind)
#494E5B
Tritanopia (blue-blind)
#8D1639
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831a5d;
/* rgb */ color: rgb(131, 26, 93);
/* oklch */ color: oklch(42.0% 0.154 346.9);
Tailwind
colors: {
  custom: {
    50: '#ab638b',
    500: '#831a5d',
    950: '#000000',
  },
}
SCSS
$custom: #831a5d;
$custom-light: #ab638b;
$custom-dark: #000000;
JSON
{
  "hex": "#831a5d",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 93
  },
  "hsl": {
    "h": 321.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41951,
    "c": 0.15394,
    "h": 346.9
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#831A5D
secondary
#42B76C
accent
#EA7C3E
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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