#831B4D#831B4D

#831B4D is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.145 H 356.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#831B4D
RGBrgb(131, 27, 77)
HSLhsl(331, 66%, 31%)
HSVhsv(331, 79%, 51%)
CMYKcmyk(0%, 79.4%, 41.2%, 48.6%)
CIE-LABlab(29.78, 47.02, -3.50)
CIE-LCHlch(29.78, 47.15, 355.75°)
OKLaboklab(41.37% 0.1445 -0.0086)
OKLCHoklch(41.37% 0.145 356.6)
XYZxyz(11.0924, 6.1464, 7.6220)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B4D #1B8351
analogous
#831B81 #831B4D #831D1B
triadic
#831B4D #4D831B #1B4D83
tetradic
#831B4D #81831B #1B8351 #1D1B83
square
#831B4D #81831B #1B8351 #1D1B83
split-complementary
#831B4D #1B831D #1B8183
monochromatic
#1E0611 #50112F #831B4D #B6256B #D84189

Accessibility & contrast

On white

9.42
#831B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B4D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B4D#FFFFFF#000000##FFFFFF
##831B4D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4E
Deuteranopia (green-blind)
#4E4D4B
Tritanopia (blue-blind)
#8E0B31
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831b4d;
/* rgb */ color: rgb(131, 27, 77);
/* oklch */ color: oklch(41.4% 0.145 356.6);
Tailwind
colors: {
  custom: {
    50: '#ac637e',
    500: '#831b4d',
    950: '#000000',
  },
}
SCSS
$custom: #831b4d;
$custom-light: #ac637e;
$custom-dark: #000000;
JSON
{
  "hex": "#831b4d",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 77
  },
  "hsl": {
    "h": 331.154,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41372,
    "c": 0.14479,
    "h": 356.6
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#831B4D
secondary
#43B67F
accent
#E9973F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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