#831B47#831B47

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

Color values

HEX#831B47
RGBrgb(131, 27, 71)
HSLhsl(335, 66%, 31%)
HSVhsv(335, 79%, 51%)
CMYKcmyk(0%, 79.4%, 45.8%, 48.6%)
CIE-LABlab(29.58, 46.40, 0.19)
CIE-LCHlch(29.58, 46.40, 0.23°)
OKLaboklab(41.16% 0.1425 0.001)
OKLCHoklch(41.16% 0.142 0.4)
XYZxyz(10.8902, 6.0655, 6.5573)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B47 #1B8357
analogous
#831B7B #831B47 #83231B
triadic
#831B47 #47831B #1B4783
tetradic
#831B47 #7B831B #1B8357 #231B83
square
#831B47 #7B831B #1B8357 #231B83
split-complementary
#831B47 #1B8323 #1B7B83
monochromatic
#1E0610 #50112B #831B47 #B62563 #D84181

Accessibility & contrast

On white

9.49
#831B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B47
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B47#FFFFFF#000000##FFFFFF
##831B471.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333948
Deuteranopia (green-blind)
#4F4D45
Tritanopia (blue-blind)
#8F062E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831b47;
/* rgb */ color: rgb(131, 27, 71);
/* oklch */ color: oklch(41.2% 0.142 0.4);
Tailwind
colors: {
  custom: {
    50: '#ac637a',
    500: '#831b47',
    950: '#000000',
  },
}
SCSS
$custom: #831b47;
$custom-light: #ac637a;
$custom-dark: #000000;
JSON
{
  "hex": "#831b47",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 334.615,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.14249,
    "h": 0.4
  },
  "luminance": 0.06064
}

Semantic roles & 50–950 ramp

primary
#831B47
secondary
#43B686
accent
#E9A13F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #831B47

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

Preview Lab → · Contrast checker → · Palette generator →

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