#831C50#831C50

#831C50 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.6% C 0.145 H 354.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#831C50
RGBrgb(131, 28, 80)
HSLhsl(330, 65%, 31%)
HSVhsv(330, 79%, 51%)
CMYKcmyk(0%, 78.6%, 38.9%, 48.6%)
CIE-LABlab(30.00, 47.02, -5.15)
CIE-LCHlch(30.00, 47.30, 353.75°)
OKLaboklab(41.57% 0.1444 -0.013)
OKLCHoklch(41.57% 0.145 354.9)
XYZxyz(11.2240, 6.2364, 8.2005)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C50 #1C834F
analogous
#821C83 #831C50 #831C1C
triadic
#831C50 #50831C #1C5083
tetradic
#831C50 #83821C #1C834F #1C1C83
square
#831C50 #83821C #1C834F #1C1C83
split-complementary
#831C50 #1C831C #1C8382
monochromatic
#1E0612 #511131 #831C50 #B5276F #D7438D

Accessibility & contrast

On white

9.35
#831C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#831C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C50
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C50#FFFFFF#000000##FFFFFF
##831C501.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B51
Deuteranopia (green-blind)
#4D4D4E
Tritanopia (blue-blind)
#8E0F33
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831c50;
/* rgb */ color: rgb(131, 28, 80);
/* oklch */ color: oklch(41.6% 0.145 354.9);
Tailwind
colors: {
  custom: {
    50: '#ab6381',
    500: '#831c50',
    950: '#000000',
  },
}
SCSS
$custom: #831c50;
$custom-light: #ab6381;
$custom-dark: #000000;
JSON
{
  "hex": "#831c50",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 329.709,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41569,
    "c": 0.14502,
    "h": 354.9
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#831C50
secondary
#45B67D
accent
#E89340
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831C50

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

Preview Lab → · Contrast checker → · Palette generator →

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