#831B48#831B48

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

Color values

HEX#831B48
RGBrgb(131, 27, 72)
HSLhsl(334, 66%, 31%)
HSVhsv(334, 79%, 51%)
CMYKcmyk(0%, 79.4%, 45%, 48.6%)
CIE-LABlab(29.61, 46.50, -0.43)
CIE-LCHlch(29.61, 46.50, 359.47°)
OKLaboklab(41.19% 0.1428 -0.0006)
OKLCHoklch(41.19% 0.143 359.8)
XYZxyz(10.9226, 6.0785, 6.7277)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B48 #1B8356
analogous
#831B7C #831B48 #83221B
triadic
#831B48 #48831B #1B4883
tetradic
#831B48 #7C831B #1B8356 #221B83
square
#831B48 #7C831B #1B8356 #221B83
split-complementary
#831B48 #1B8322 #1B7C83
monochromatic
#1E0610 #50112C #831B48 #B62564 #D84182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831B48#FFFFFF#000000##FFFFFF
##831B481.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333949
Deuteranopia (green-blind)
#4F4D46
Tritanopia (blue-blind)
#8E062F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831b48;
/* rgb */ color: rgb(131, 27, 72);
/* oklch */ color: oklch(41.2% 0.143 359.8);
Tailwind
colors: {
  custom: {
    50: '#ac637a',
    500: '#831b48',
    950: '#000000',
  },
}
SCSS
$custom: #831b48;
$custom-light: #ac637a;
$custom-dark: #000000;
JSON
{
  "hex": "#831b48",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 334.038,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.14284,
    "h": 359.8
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#831B48
secondary
#43B685
accent
#E99F3F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #831B48

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

Preview Lab → · Contrast checker → · Palette generator →

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