#831B4C#831B4C

#831B4C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.144 H 357.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#831B4C
RGBrgb(131, 27, 76)
HSLhsl(332, 66%, 31%)
HSVhsv(332, 79%, 51%)
CMYKcmyk(0%, 79.4%, 42%, 48.6%)
CIE-LABlab(29.74, 46.91, -2.89)
CIE-LCHlch(29.74, 47.00, 356.48°)
OKLaboklab(41.34% 0.1442 -0.007)
OKLCHoklch(41.34% 0.144 357.2)
XYZxyz(11.0573, 6.1324, 7.4375)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B4C #1B8352
analogous
#831B80 #831B4C #831E1B
triadic
#831B4C #4C831B #1B4C83
tetradic
#831B4C #80831B #1B8352 #1E1B83
square
#831B4C #80831B #1B8352 #1E1B83
split-complementary
#831B4C #1B831E #1B8083
monochromatic
#1E0611 #50112F #831B4C #B62569 #D84188

Accessibility & contrast

On white

9.43
#831B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B4C
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B4C#FFFFFF#000000##FFFFFF
##831B4C1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4D
Deuteranopia (green-blind)
#4E4D4A
Tritanopia (blue-blind)
#8E0A31
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831b4c;
/* rgb */ color: rgb(131, 27, 76);
/* oklch */ color: oklch(41.3% 0.144 357.2);
Tailwind
colors: {
  custom: {
    50: '#ac637d',
    500: '#831b4c',
    950: '#000000',
  },
}
SCSS
$custom: #831b4c;
$custom-light: #ac637d;
$custom-dark: #000000;
JSON
{
  "hex": "#831b4c",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 331.731,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41335,
    "c": 0.14438,
    "h": 357.2
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#831B4C
secondary
#43B680
accent
#E9993F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #831B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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