#831D47#831D47

#831D47 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 0.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#831D47
RGBrgb(131, 29, 71)
HSLhsl(335, 64%, 31%)
HSVhsv(335, 78%, 51%)
CMYKcmyk(0%, 77.9%, 45.8%, 48.6%)
CIE-LABlab(29.81, 45.73, 0.53)
CIE-LCHlch(29.81, 45.73, 0.67°)
OKLaboklab(41.33% 0.1404 0.0019)
OKLCHoklch(41.33% 0.14 0.8)
XYZxyz(10.9376, 6.1604, 6.5731)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D47 #1D8359
analogous
#831D7A #831D47 #83261D
triadic
#831D47 #47831D #1D4783
tetradic
#831D47 #7A831D #1D8359 #261D83
square
#831D47 #7A831D #1D8359 #261D83
split-complementary
#831D47 #1D8326 #1D7A83
monochromatic
#1F0711 #51122C #831D47 #B52862 #D64580

Accessibility & contrast

On white

9.41
#831D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#831D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D47
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D47#FFFFFF#000000##FFFFFF
##831D471.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A48
Deuteranopia (green-blind)
#504D45
Tritanopia (blue-blind)
#8F0A2F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831d47;
/* rgb */ color: rgb(131, 29, 71);
/* oklch */ color: oklch(41.3% 0.140 0.8);
Tailwind
colors: {
  custom: {
    50: '#ac637a',
    500: '#831d47',
    950: '#000000',
  },
}
SCSS
$custom: #831d47;
$custom-light: #ac637a;
$custom-dark: #000000;
JSON
{
  "hex": "#831d47",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 71
  },
  "hsl": {
    "h": 335.294,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41332,
    "c": 0.14036,
    "h": 0.8
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#831D47
secondary
#46B688
accent
#E7A341
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #831D47

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

Preview Lab → · Contrast checker → · Palette generator →

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