#831A4C#831A4C

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

Color values

HEX#831A4C
RGBrgb(131, 26, 76)
HSLhsl(331, 67%, 31%)
HSVhsv(331, 80%, 51%)
CMYKcmyk(0%, 80.2%, 42%, 48.6%)
CIE-LABlab(29.63, 47.23, -3.05)
CIE-LCHlch(29.63, 47.33, 356.30°)
OKLaboklab(41.25% 0.1452 -0.0074)
OKLCHoklch(41.25% 0.145 357.1)
XYZxyz(11.0348, 6.0873, 7.4300)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A4C #1A8351
analogous
#831A80 #831A4C #831D1A
triadic
#831A4C #4C831A #1A4C83
tetradic
#831A4C #80831A #1A8351 #1D1A83
square
#831A4C #80831A #1A8351 #1D1A83
split-complementary
#831A4C #1A831D #1A8083
monochromatic
#1D0611 #50102E #831A4C #B6246A #D93F88

Accessibility & contrast

On white

9.47
#831A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#831A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A4C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A4C#FFFFFF#000000##FFFFFF
##831A4C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394D
Deuteranopia (green-blind)
#4E4D4A
Tritanopia (blue-blind)
#8E0831
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831a4c;
/* rgb */ color: rgb(131, 26, 76);
/* oklch */ color: oklch(41.3% 0.145 357.1);
Tailwind
colors: {
  custom: {
    50: '#ac627d',
    500: '#831a4c',
    950: '#000000',
  },
}
SCSS
$custom: #831a4c;
$custom-light: #ac627d;
$custom-dark: #000000;
JSON
{
  "hex": "#831a4c",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 331.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41253,
    "c": 0.14541,
    "h": 357.1
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#831A4C
secondary
#42B77F
accent
#EA983E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #831A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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