#831A4E#831A4E

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

Color values

HEX#831A4E
RGBrgb(131, 26, 78)
HSLhsl(330, 67%, 31%)
HSVhsv(330, 80%, 51%)
CMYKcmyk(0%, 80.2%, 40.5%, 48.6%)
CIE-LABlab(29.70, 47.45, -4.27)
CIE-LCHlch(29.70, 47.64, 354.85°)
OKLaboklab(41.33% 0.1459 -0.0106)
OKLCHoklch(41.33% 0.146 355.8)
XYZxyz(11.1054, 6.1156, 7.8019)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A4E #1A834F
analogous
#831A82 #831A4E #831B1A
triadic
#831A4E #4E831A #1A4E83
tetradic
#831A4E #82831A #1A834F #1B1A83
square
#831A4E #82831A #1A834F #1B1A83
split-complementary
#831A4E #1A831B #1A8283
monochromatic
#1D0611 #501030 #831A4E #B6246C #D93F8B

Accessibility & contrast

On white

9.45
#831A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831A4E
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A4E#FFFFFF#000000##FFFFFF
##831A4E1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A4F
Deuteranopia (green-blind)
#4D4D4C
Tritanopia (blue-blind)
#8E0A32
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831a4e;
/* rgb */ color: rgb(131, 26, 78);
/* oklch */ color: oklch(41.3% 0.146 355.8);
Tailwind
colors: {
  custom: {
    50: '#ac627f',
    500: '#831a4e',
    950: '#000000',
  },
}
SCSS
$custom: #831a4e;
$custom-light: #ac627f;
$custom-dark: #000000;
JSON
{
  "hex": "#831a4e",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 330.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41327,
    "c": 0.14626,
    "h": 355.8
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#831A4E
secondary
#42B77D
accent
#EA953E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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