#831B51#831B51

#831B51 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.147 H 354.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#831B51
RGBrgb(131, 27, 81)
HSLhsl(329, 66%, 31%)
HSVhsv(329, 79%, 51%)
CMYKcmyk(0%, 79.4%, 38.2%, 48.6%)
CIE-LABlab(29.92, 47.46, -5.93)
CIE-LCHlch(29.92, 47.83, 352.88°)
OKLaboklab(41.52% 0.1458 -0.0151)
OKLCHoklch(41.52% 0.147 354.1)
XYZxyz(11.2379, 6.2046, 8.3888)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B51 #1B834D
analogous
#811B83 #831B51 #831B1D
triadic
#831B51 #51831B #1B5183
tetradic
#831B51 #83811B #1B834D #1B1D83
square
#831B51 #83811B #1B834D #1B1D83
split-complementary
#831B51 #1D831B #1B8381
monochromatic
#1E0612 #501132 #831B51 #B62570 #D8418F

Accessibility & contrast

On white

9.37
#831B51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#831B51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B51
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B51#FFFFFF#000000##FFFFFF
##831B511.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A52
Deuteranopia (green-blind)
#4D4D4F
Tritanopia (blue-blind)
#8E0E33
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831b51;
/* rgb */ color: rgb(131, 27, 81);
/* oklch */ color: oklch(41.5% 0.147 354.1);
Tailwind
colors: {
  custom: {
    50: '#ab6381',
    500: '#831b51',
    950: '#000000',
  },
}
SCSS
$custom: #831b51;
$custom-light: #ab6381;
$custom-dark: #000000;
JSON
{
  "hex": "#831b51",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 81
  },
  "hsl": {
    "h": 328.846,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.14656,
    "h": 354.1
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#831B51
secondary
#43B67B
accent
#E9913F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831B51

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

Preview Lab → · Contrast checker → · Palette generator →

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