#831D4A#831D4A

#831D4A is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.141 H 358.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#831D4A
RGBrgb(131, 29, 74)
HSLhsl(334, 64%, 31%)
HSVhsv(334, 78%, 51%)
CMYKcmyk(0%, 77.9%, 43.5%, 48.6%)
CIE-LABlab(29.91, 46.04, -1.32)
CIE-LCHlch(29.91, 46.06, 358.36°)
OKLaboklab(41.44% 0.1414 -0.0029)
OKLCHoklch(41.44% 0.141 358.8)
XYZxyz(11.0363, 6.1999, 7.0928)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D4A #1D8356
analogous
#831D7D #831D4A #83231D
triadic
#831D4A #4A831D #1D4A83
tetradic
#831D4A #7D831D #1D8356 #231D83
square
#831D4A #7D831D #1D8356 #231D83
split-complementary
#831D4A #1D8323 #1D7D83
monochromatic
#1F0711 #51122E #831D4A #B52866 #D64585

Accessibility & contrast

On white

9.38
#831D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#831D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D4A
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D4A#FFFFFF#000000##FFFFFF
##831D4A1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333A4B
Deuteranopia (green-blind)
#4F4D48
Tritanopia (blue-blind)
#8E0C31
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831d4a;
/* rgb */ color: rgb(131, 29, 74);
/* oklch */ color: oklch(41.4% 0.141 358.8);
Tailwind
colors: {
  custom: {
    50: '#ac647c',
    500: '#831d4a',
    950: '#000000',
  },
}
SCSS
$custom: #831d4a;
$custom-light: #ac647c;
$custom-dark: #000000;
JSON
{
  "hex": "#831d4a",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 333.529,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41435,
    "c": 0.14144,
    "h": 358.8
  },
  "luminance": 0.06198
}

Semantic roles & 50–950 ramp

primary
#831D4A
secondary
#46B685
accent
#E79E41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #831D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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