#831B4E#831B4E

#831B4E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.145 H 356.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#831B4E
RGBrgb(131, 27, 78)
HSLhsl(331, 66%, 31%)
HSVhsv(331, 79%, 51%)
CMYKcmyk(0%, 79.4%, 40.5%, 48.6%)
CIE-LABlab(29.81, 47.13, -4.11)
CIE-LCHlch(29.81, 47.31, 355.02°)
OKLaboklab(41.41% 0.1449 -0.0102)
OKLCHoklch(41.41% 0.145 356)
XYZxyz(11.1279, 6.1606, 7.8094)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B4E #1B8350
analogous
#831B82 #831B4E #831C1B
triadic
#831B4E #4E831B #1B4E83
tetradic
#831B4E #82831B #1B8350 #1C1B83
square
#831B4E #82831B #1B8350 #1C1B83
split-complementary
#831B4E #1B831C #1B8283
monochromatic
#1E0612 #501130 #831B4E #B6256C #D8418B

Accessibility & contrast

On white

9.41
#831B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#831B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B4E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B4E#FFFFFF#000000##FFFFFF
##831B4E1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#4E4D4C
Tritanopia (blue-blind)
#8E0C32
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831b4e;
/* rgb */ color: rgb(131, 27, 78);
/* oklch */ color: oklch(41.4% 0.145 356.0);
Tailwind
colors: {
  custom: {
    50: '#ac637f',
    500: '#831b4e',
    950: '#000000',
  },
}
SCSS
$custom: #831b4e;
$custom-light: #ac637f;
$custom-dark: #000000;
JSON
{
  "hex": "#831b4e",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 330.577,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41409,
    "c": 0.14521,
    "h": 356
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#831B4E
secondary
#43B67E
accent
#E9963F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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