#831B5C#831B5C

#831B5C is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.152 H 347.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#831B5C
RGBrgb(131, 27, 92)
HSLhsl(323, 66%, 31%)
HSVhsv(323, 79%, 51%)
CMYKcmyk(0%, 79.4%, 29.8%, 48.6%)
CIE-LABlab(30.36, 48.79, -12.48)
CIE-LCHlch(30.36, 50.36, 345.65°)
OKLaboklab(41.99% 0.1487 -0.0329)
OKLCHoklch(41.99% 0.152 347.5)
XYZxyz(11.6844, 6.3832, 10.7399)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B5C #1B8342
analogous
#761B83 #831B5C #831B28
triadic
#831B5C #5C831B #1B5C83
tetradic
#831B5C #83761B #1B8342 #1B2883
square
#831B5C #83761B #1B8342 #1B2883
split-complementary
#831B5C #28831B #1B8376
monochromatic
#1E0615 #501138 #831B5C #B62580 #D8419F

Accessibility & contrast

On white

9.23
#831B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#831B5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B5C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B5C#FFFFFF#000000##FFFFFF
##831B5C1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5E
Deuteranopia (green-blind)
#4A4E5A
Tritanopia (blue-blind)
#8D1639
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831b5c;
/* rgb */ color: rgb(131, 27, 92);
/* oklch */ color: oklch(42.0% 0.152 347.5);
Tailwind
colors: {
  custom: {
    50: '#ab638a',
    500: '#831b5c',
    950: '#000000',
  },
}
SCSS
$custom: #831b5c;
$custom-light: #ab638a;
$custom-dark: #000000;
JSON
{
  "hex": "#831b5c",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 322.5,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.15231,
    "h": 347.5
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#831B5C
secondary
#43B66F
accent
#E97F3F
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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