#831B4F#831B4F

#831B4F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.146 H 355.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#831B4F
RGBrgb(131, 27, 79)
HSLhsl(330, 66%, 31%)
HSVhsv(330, 79%, 51%)
CMYKcmyk(0%, 79.4%, 39.7%, 48.6%)
CIE-LABlab(29.85, 47.24, -4.71)
CIE-LCHlch(29.85, 47.47, 354.30°)
OKLaboklab(41.45% 0.1452 -0.0118)
OKLCHoklch(41.45% 0.146 355.3)
XYZxyz(11.1641, 6.1751, 7.9996)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B4F #1B834F
analogous
#831B83 #831B4F #831B1B
triadic
#831B4F #4F831B #1B4F83
tetradic
#831B4F #83831B #1B834F #1B1B83
square
#831B4F #83831B #1B834F #1B1B83
split-complementary
#831B4F #1B831B #1B8383
monochromatic
#1E0612 #501130 #831B4F #B6256E #D8418C

Accessibility & contrast

On white

9.40
#831B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#831B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B4F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B4F#FFFFFF#000000##FFFFFF
##831B4F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A50
Deuteranopia (green-blind)
#4D4D4D
Tritanopia (blue-blind)
#8E0D32
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831b4f;
/* rgb */ color: rgb(131, 27, 79);
/* oklch */ color: oklch(41.4% 0.146 355.3);
Tailwind
colors: {
  custom: {
    50: '#ac6380',
    500: '#831b4f',
    950: '#000000',
  },
}
SCSS
$custom: #831b4f;
$custom-light: #ac6380;
$custom-dark: #000000;
JSON
{
  "hex": "#831b4f",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 330,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.14565,
    "h": 355.3
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#831B4F
secondary
#43B67D
accent
#E9943F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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