#831B5E#831B5E

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

Color values

HEX#831B5E
RGBrgb(131, 27, 94)
HSLhsl(321, 66%, 31%)
HSVhsv(321, 79%, 51%)
CMYKcmyk(0%, 79.4%, 28.2%, 48.6%)
CIE-LABlab(30.44, 49.05, -13.65)
CIE-LCHlch(30.44, 50.91, 344.45°)
OKLaboklab(42.08% 0.1492 -0.0362)
OKLCHoklch(42.08% 0.153 346.4)
XYZxyz(11.7729, 6.4186, 11.2064)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B5E #1B8340
analogous
#741B83 #831B5E #831B2A
triadic
#831B5E #5E831B #1B5E83
tetradic
#831B5E #83741B #1B8340 #1B2A83
square
#831B5E #83741B #1B8340 #1B2A83
split-complementary
#831B5E #2A831B #1B8374
monochromatic
#1E0615 #50113A #831B5E #B62582 #D841A2

Accessibility & contrast

On white

9.20
#831B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B5E
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B5E#FFFFFF#000000##FFFFFF
##831B5E1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C60
Deuteranopia (green-blind)
#494E5C
Tritanopia (blue-blind)
#8C183A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831b5e;
/* rgb */ color: rgb(131, 27, 94);
/* oklch */ color: oklch(42.1% 0.153 346.4);
Tailwind
colors: {
  custom: {
    50: '#ab638b',
    500: '#831b5e',
    950: '#000000',
  },
}
SCSS
$custom: #831b5e;
$custom-light: #ab638b;
$custom-dark: #000000;
JSON
{
  "hex": "#831b5e",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 321.346,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42075,
    "c": 0.15348,
    "h": 346.4
  },
  "luminance": 0.06417
}

Semantic roles & 50–950 ramp

primary
#831B5E
secondary
#43B66C
accent
#E97B3F
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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