#831B52#831B52

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

Color values

HEX#831B52
RGBrgb(131, 27, 82)
HSLhsl(328, 66%, 31%)
HSVhsv(328, 79%, 51%)
CMYKcmyk(0%, 79.4%, 37.4%, 48.6%)
CIE-LABlab(29.96, 47.58, -6.53)
CIE-LCHlch(29.96, 48.02, 352.19°)
OKLaboklab(41.56% 0.1461 -0.0167)
OKLCHoklch(41.56% 0.147 353.5)
XYZxyz(11.2757, 6.2197, 8.5878)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B52 #1B834C
analogous
#801B83 #831B52 #831B1E
triadic
#831B52 #52831B #1B5283
tetradic
#831B52 #83801B #1B834C #1B1E83
square
#831B52 #83801B #1B834C #1B1E83
split-complementary
#831B52 #1E831B #1B8380
monochromatic
#1E0612 #501132 #831B52 #B62572 #D84191

Accessibility & contrast

On white

9.36
#831B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B52
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B52#FFFFFF#000000##FFFFFF
##831B521.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#4D4D50
Tritanopia (blue-blind)
#8E0F34
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831b52;
/* rgb */ color: rgb(131, 27, 82);
/* oklch */ color: oklch(41.6% 0.147 353.5);
Tailwind
colors: {
  custom: {
    50: '#ab6382',
    500: '#831b52',
    950: '#000000',
  },
}
SCSS
$custom: #831b52;
$custom-light: #ab6382;
$custom-dark: #000000;
JSON
{
  "hex": "#831b52",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 82
  },
  "hsl": {
    "h": 328.269,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41564,
    "c": 0.14703,
    "h": 353.5
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#831B52
secondary
#43B67A
accent
#E98F3F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831B52

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

Preview Lab → · Contrast checker → · Palette generator →

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