#831C70#831C70

#831C70 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 43.1% C 0.164 H 336.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#831C70
RGBrgb(131, 28, 112)
HSLhsl(311, 65%, 31%)
HSVhsv(311, 79%, 51%)
CMYKcmyk(0%, 78.6%, 14.5%, 48.6%)
CIE-LABlab(31.41, 51.27, -23.74)
CIE-LCHlch(31.41, 56.50, 335.15°)
OKLaboklab(43.05% 0.151 -0.0647)
OKLCHoklch(43.05% 0.164 336.8)
XYZxyz(12.7002, 6.8268, 15.9749)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C70 #1C832F
analogous
#621C83 #831C70 #831C3C
triadic
#831C70 #70831C #1C7083
tetradic
#831C70 #83621C #1C832F #1C3C83
square
#831C70 #83621C #1C832F #1C3C83
split-complementary
#831C70 #3C831C #1C8362
monochromatic
#1E061A #511145 #831C70 #B5279B #D743BB

Accessibility & contrast

On white

8.88
#831C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#831C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C70
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C70#FFFFFF#000000##FFFFFF
##831C701.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4072
Deuteranopia (green-blind)
#434F6E
Tritanopia (blue-blind)
#8A2344
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #831c70;
/* rgb */ color: rgb(131, 28, 112);
/* oklch */ color: oklch(43.1% 0.164 336.8);
Tailwind
colors: {
  custom: {
    50: '#ab6599',
    500: '#831c70',
    950: '#000000',
  },
}
SCSS
$custom: #831c70;
$custom-light: #ab6599;
$custom-dark: #000000;
JSON
{
  "hex": "#831c70",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 311.068,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43051,
    "c": 0.16427,
    "h": 336.8
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#831C70
secondary
#45B65A
accent
#E85F40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831C70

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

Preview Lab → · Contrast checker → · Palette generator →

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