#831A4B#831A4B

#831A4B is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.145 H 357.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#831A4B
RGBrgb(131, 26, 75)
HSLhsl(332, 67%, 31%)
HSVhsv(332, 80%, 51%)
CMYKcmyk(0%, 80.2%, 42.7%, 48.6%)
CIE-LABlab(29.60, 47.13, -2.44)
CIE-LCHlch(29.60, 47.19, 357.03°)
OKLaboklab(41.22% 0.1449 -0.0058)
OKLCHoklch(41.22% 0.145 357.7)
XYZxyz(11.0003, 6.0735, 7.2483)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A4B #1A8352
analogous
#831A7F #831A4B #831D1A
triadic
#831A4B #4B831A #1A4B83
tetradic
#831A4B #7F831A #1A8352 #1D1A83
square
#831A4B #7F831A #1A8352 #1D1A83
split-complementary
#831A4B #1A831D #1A7F83
monochromatic
#1D0611 #50102E #831A4B #B62468 #D93F87

Accessibility & contrast

On white

9.48
#831A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#831A4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A4B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A4B#FFFFFF#000000##FFFFFF
##831A4B1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394C
Deuteranopia (green-blind)
#4E4D49
Tritanopia (blue-blind)
#8E0730
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831a4b;
/* rgb */ color: rgb(131, 26, 75);
/* oklch */ color: oklch(41.2% 0.145 357.7);
Tailwind
colors: {
  custom: {
    50: '#ac627d',
    500: '#831a4b',
    950: '#000000',
  },
}
SCSS
$custom: #831a4b;
$custom-light: #ac627d;
$custom-dark: #000000;
JSON
{
  "hex": "#831a4b",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 332,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41216,
    "c": 0.14501,
    "h": 357.7
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#831A4B
secondary
#42B780
accent
#EA9A3E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #831A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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