#831B5D#831B5D

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

Color values

HEX#831B5D
RGBrgb(131, 27, 93)
HSLhsl(322, 66%, 31%)
HSVhsv(322, 79%, 51%)
CMYKcmyk(0%, 79.4%, 29%, 48.6%)
CIE-LABlab(30.40, 48.92, -13.06)
CIE-LCHlch(30.40, 50.63, 345.05°)
OKLaboklab(42.03% 0.1489 -0.0345)
OKLCHoklch(42.03% 0.153 346.9)
XYZxyz(11.7284, 6.4008, 10.9716)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B5D #1B8341
analogous
#751B83 #831B5D #831B29
triadic
#831B5D #5D831B #1B5D83
tetradic
#831B5D #83751B #1B8341 #1B2983
square
#831B5D #83751B #1B8341 #1B2983
split-complementary
#831B5D #29831B #1B8375
monochromatic
#1E0615 #501139 #831B5D #B62581 #D841A1

Accessibility & contrast

On white

9.21
#831B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B5D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B5D#FFFFFF#000000##FFFFFF
##831B5D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5F
Deuteranopia (green-blind)
#4A4E5B
Tritanopia (blue-blind)
#8D173A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831b5d;
/* rgb */ color: rgb(131, 27, 93);
/* oklch */ color: oklch(42.0% 0.153 346.9);
Tailwind
colors: {
  custom: {
    50: '#ab638b',
    500: '#831b5d',
    950: '#000000',
  },
}
SCSS
$custom: #831b5d;
$custom-light: #ab638b;
$custom-dark: #000000;
JSON
{
  "hex": "#831b5d",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 93
  },
  "hsl": {
    "h": 321.923,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4203,
    "c": 0.15289,
    "h": 346.9
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#831B5D
secondary
#43B66D
accent
#E97D3F
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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