#831B3F#831B3F

#831B3F is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.140 H 5.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#831B3F
RGBrgb(131, 27, 63)
HSLhsl(339, 66%, 31%)
HSVhsv(339, 79%, 51%)
CMYKcmyk(0%, 79.4%, 51.9%, 48.6%)
CIE-LABlab(29.34, 45.64, 5.17)
CIE-LCHlch(29.34, 45.93, 6.46°)
OKLaboklab(40.9% 0.1395 0.0136)
OKLCHoklch(40.9% 0.14 5.6)
XYZxyz(10.6502, 5.9695, 5.2931)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B3F #1B835F
analogous
#831B73 #831B3F #832B1B
triadic
#831B3F #3F831B #1B3F83
tetradic
#831B3F #73831B #1B835F #2B1B83
square
#831B3F #73831B #1B835F #2B1B83
split-complementary
#831B3F #1B832B #1B7383
monochromatic
#1E060E #501127 #831B3F #B62557 #D84175

Accessibility & contrast

On white

9.57
#831B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#831B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B3F
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B3F#FFFFFF#000000##FFFFFF
##831B3F1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353840
Deuteranopia (green-blind)
#514D3D
Tritanopia (blue-blind)
#8F002B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831b3f;
/* rgb */ color: rgb(131, 27, 63);
/* oklch */ color: oklch(40.9% 0.140 5.6);
Tailwind
colors: {
  custom: {
    50: '#ac6273',
    500: '#831b3f',
    950: '#000000',
  },
}
SCSS
$custom: #831b3f;
$custom-light: #ac6273;
$custom-dark: #000000;
JSON
{
  "hex": "#831b3f",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 339.231,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40901,
    "c": 0.14015,
    "h": 5.6
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#831B3F
secondary
#43B68F
accent
#E9AE3F
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #831B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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