#831B71#831B71

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

Color values

HEX#831B71
RGBrgb(131, 27, 113)
HSLhsl(310, 66%, 31%)
HSVhsv(310, 79%, 51%)
CMYKcmyk(0%, 79.4%, 13.7%, 48.6%)
CIE-LABlab(31.35, 51.73, -24.47)
CIE-LCHlch(31.35, 57.23, 334.68°)
OKLaboklab(43.03% 0.152 -0.0667)
OKLCHoklch(43.03% 0.166 336.3)
XYZxyz(12.7329, 6.8026, 16.2620)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B71 #1B832D
analogous
#611B83 #831B71 #831B3D
triadic
#831B71 #71831B #1B7183
tetradic
#831B71 #83611B #1B832D #1B3D83
square
#831B71 #83611B #1B832D #1B3D83
split-complementary
#831B71 #3D831B #1B8361
monochromatic
#1E0619 #501145 #831B71 #B6259D #D841BE

Accessibility & contrast

On white

8.90
#831B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#831B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B71
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B71#FFFFFF#000000##FFFFFF
##831B711.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831b71;
/* rgb */ color: rgb(131, 27, 113);
/* oklch */ color: oklch(43.0% 0.166 336.3);
Tailwind
colors: {
  custom: {
    50: '#ab649a',
    500: '#831b71',
    950: '#000000',
  },
}
SCSS
$custom: #831b71;
$custom-light: #ab649a;
$custom-dark: #000000;
JSON
{
  "hex": "#831b71",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 310.385,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43027,
    "c": 0.16603,
    "h": 336.3
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#831B71
secondary
#43B657
accent
#E95C3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831B71

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

Preview Lab → · Contrast checker → · Palette generator →

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