#831239#831239

#831239 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.147 H 7.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#831239
RGBrgb(131, 18, 57)
HSLhsl(339, 76%, 29%)
HSVhsv(339, 86%, 51%)
CMYKcmyk(0%, 86.3%, 56.5%, 48.6%)
CIE-LABlab(28.26, 47.73, 7.68)
CIE-LCHlch(28.26, 48.34, 9.15°)
OKLaboklab(40.06% 0.1455 0.0196)
OKLCHoklch(40.06% 0.147 7.7)
XYZxyz(10.3159, 5.5548, 4.3991)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831239 #12835C
analogous
#831272 #831239 #832412
triadic
#831239 #398312 #123983
tetradic
#831239 #728312 #12835C #241283
square
#831239 #728312 #12835C #241283
split-complementary
#831239 #128324 #127283
monochromatic
#1B040C #4D0B22 #831239 #B91950 #E22D6C

Accessibility & contrast

On white

9.95
#831239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#831239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831239
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831239#FFFFFF#000000##FFFFFF
##8312391.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33343A
Deuteranopia (green-blind)
#504B36
Tritanopia (blue-blind)
#900024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831239;
/* rgb */ color: rgb(131, 18, 57);
/* oklch */ color: oklch(40.1% 0.147 7.7);
Tailwind
colors: {
  custom: {
    50: '#ad5f6f',
    500: '#831239',
    950: '#000000',
  },
}
SCSS
$custom: #831239;
$custom-light: #ad5f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#831239",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 57
  },
  "hsl": {
    "h": 339.292,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40057,
    "c": 0.1468,
    "h": 7.7
  },
  "luminance": 0.05553
}

Semantic roles & 50–950 ramp

primary
#831239
secondary
#38B88C
accent
#F2B135
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #831239

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

Preview Lab → · Contrast checker → · Palette generator →

#831239 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva