#831F4B#831F4B

#831F4B is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.140 H 358.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#831F4B
RGBrgb(131, 31, 75)
HSLhsl(334, 62%, 32%)
HSVhsv(334, 76%, 51%)
CMYKcmyk(0%, 76.3%, 42.7%, 48.6%)
CIE-LABlab(30.19, 45.44, -1.56)
CIE-LCHlch(30.19, 45.47, 358.03°)
OKLaboklab(41.65% 0.1395 -0.0035)
OKLCHoklch(41.65% 0.14 358.5)
XYZxyz(11.1209, 6.3147, 7.2885)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F4B #1F8357
analogous
#831F7D #831F4B #83251F
triadic
#831F4B #4B831F #1F4B83
tetradic
#831F4B #7D831F #1F8357 #251F83
square
#831F4B #7D831F #1F8357 #251F83
split-complementary
#831F4B #1F8325 #1F7D83
monochromatic
#200812 #52132F #831F4B #B42B67 #D44986

Accessibility & contrast

On white

9.28
#831F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#831F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F4B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F4B#FFFFFF#000000##FFFFFF
##831F4B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4C
Deuteranopia (green-blind)
#4F4E49
Tritanopia (blue-blind)
#8E1032
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831f4b;
/* rgb */ color: rgb(131, 31, 75);
/* oklch */ color: oklch(41.7% 0.140 358.5);
Tailwind
colors: {
  custom: {
    50: '#ac647d',
    500: '#831f4b',
    950: '#000000',
  },
}
SCSS
$custom: #831f4b;
$custom-light: #ac647d;
$custom-dark: #000000;
JSON
{
  "hex": "#831f4b",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 333.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41653,
    "c": 0.13956,
    "h": 358.5
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#831F4B
secondary
#48B685
accent
#E59E43
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #831F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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