#831B57#831B57

#831B57 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.150 H 350.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#831B57
RGBrgb(131, 27, 87)
HSLhsl(325, 66%, 31%)
HSVhsv(325, 79%, 51%)
CMYKcmyk(0%, 79.4%, 33.6%, 48.6%)
CIE-LABlab(30.15, 48.17, -9.52)
CIE-LCHlch(30.15, 49.10, 348.82°)
OKLaboklab(41.77% 0.1475 -0.0248)
OKLCHoklch(41.77% 0.15 350.5)
XYZxyz(11.4730, 6.2986, 9.6266)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B57 #1B8347
analogous
#7B1B83 #831B57 #831B23
triadic
#831B57 #57831B #1B5783
tetradic
#831B57 #837B1B #1B8347 #1B2383
square
#831B57 #837B1B #1B8347 #1B2383
split-complementary
#831B57 #23831B #1B837B
monochromatic
#1E0614 #501135 #831B57 #B62579 #D84198

Accessibility & contrast

On white

9.29
#831B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#831B57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B57
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B57#FFFFFF#000000##FFFFFF
##831B571.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B59
Deuteranopia (green-blind)
#4B4E55
Tritanopia (blue-blind)
#8D1337
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831b57;
/* rgb */ color: rgb(131, 27, 87);
/* oklch */ color: oklch(41.8% 0.150 350.5);
Tailwind
colors: {
  custom: {
    50: '#ab6386',
    500: '#831b57',
    950: '#000000',
  },
}
SCSS
$custom: #831b57;
$custom-light: #ab6386;
$custom-dark: #000000;
JSON
{
  "hex": "#831b57",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 325.385,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.14955,
    "h": 350.5
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#831B57
secondary
#43B674
accent
#E9873F
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831B57

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

Preview Lab → · Contrast checker → · Palette generator →

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