#831A71#831A71

#831A71 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.0% C 0.167 H 336.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#831A71
RGBrgb(131, 26, 113)
HSLhsl(310, 67%, 31%)
HSVhsv(310, 80%, 51%)
CMYKcmyk(0%, 80.2%, 13.7%, 48.6%)
CIE-LABlab(31.25, 52.03, -24.63)
CIE-LCHlch(31.25, 57.57, 334.66°)
OKLaboklab(42.95% 0.1529 -0.0672)
OKLCHoklch(42.95% 0.167 336.3)
XYZxyz(12.7103, 6.7575, 16.2545)
Luminance0.0676 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A71 #1A832C
analogous
#601A83 #831A71 #831A3C
triadic
#831A71 #71831A #1A7183
tetradic
#831A71 #83601A #1A832C #1A3C83
square
#831A71 #83601A #1A832C #1A3C83
split-complementary
#831A71 #3C831A #1A8360
monochromatic
#1D0619 #501045 #831A71 #B6249D #D93FBE

Accessibility & contrast

On white

8.93
#831A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#831A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A71
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A71#FFFFFF#000000##FFFFFF
##831A711.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4073
Deuteranopia (green-blind)
#424F6F
Tritanopia (blue-blind)
#8A2244
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831a71;
/* rgb */ color: rgb(131, 26, 113);
/* oklch */ color: oklch(43.0% 0.167 336.3);
Tailwind
colors: {
  custom: {
    50: '#ab649a',
    500: '#831a71',
    950: '#000000',
  },
}
SCSS
$custom: #831a71;
$custom-light: #ab649a;
$custom-dark: #000000;
JSON
{
  "hex": "#831a71",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 310.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.16703,
    "h": 336.3
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#831A71
secondary
#42B756
accent
#EA5B3E
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831A71

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

Preview Lab → · Contrast checker → · Palette generator →

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