#831B4B#831B4B

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

Color values

HEX#831B4B
RGBrgb(131, 27, 75)
HSLhsl(332, 66%, 31%)
HSVhsv(332, 79%, 51%)
CMYKcmyk(0%, 79.4%, 42.7%, 48.6%)
CIE-LABlab(29.71, 46.81, -2.27)
CIE-LCHlch(29.71, 46.86, 357.22°)
OKLaboklab(41.3% 0.1439 -0.0054)
OKLCHoklch(41.3% 0.144 357.9)
XYZxyz(11.0228, 6.1186, 7.2558)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B4B #1B8353
analogous
#831B7F #831B4B #831F1B
triadic
#831B4B #4B831B #1B4B83
tetradic
#831B4B #7F831B #1B8353 #1F1B83
square
#831B4B #7F831B #1B8353 #1F1B83
split-complementary
#831B4B #1B831F #1B7F83
monochromatic
#1E0611 #50112E #831B4B #B62568 #D84186

Accessibility & contrast

On white

9.44
#831B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#831B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B4B
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B4B#FFFFFF#000000##FFFFFF
##831B4B1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394C
Deuteranopia (green-blind)
#4E4D49
Tritanopia (blue-blind)
#8E0930
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831b4b;
/* rgb */ color: rgb(131, 27, 75);
/* oklch */ color: oklch(41.3% 0.144 357.9);
Tailwind
colors: {
  custom: {
    50: '#ac637d',
    500: '#831b4b',
    950: '#000000',
  },
}
SCSS
$custom: #831b4b;
$custom-light: #ac637d;
$custom-dark: #000000;
JSON
{
  "hex": "#831b4b",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 332.308,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41298,
    "c": 0.14397,
    "h": 357.9
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#831B4B
secondary
#43B681
accent
#E99A3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #831B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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