#831231#831231

#831231 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.146 H 12.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#831231
RGBrgb(131, 18, 49)
HSLhsl(344, 76%, 29%)
HSVhsv(344, 86%, 51%)
CMYKcmyk(0%, 86.3%, 62.6%, 48.6%)
CIE-LABlab(28.06, 47.14, 12.81)
CIE-LCHlch(28.06, 48.85, 15.20°)
OKLaboklab(39.85% 0.1422 0.0315)
OKLCHoklch(39.85% 0.146 12.5)
XYZxyz(10.1318, 5.4812, 3.4296)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831231 #128364
analogous
#83126A #831231 #832C12
triadic
#831231 #318312 #123183
tetradic
#831231 #6A8312 #128364 #2C1283
square
#831231 #6A8312 #128364 #2C1283
split-complementary
#831231 #12832C #126A83
monochromatic
#1B040A #4D0B1D #831231 #B91945 #E22D5F

Accessibility & contrast

On white

10.02
#831231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#831231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831231
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831231#FFFFFF#000000##FFFFFF
##8312311.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343431
Deuteranopia (green-blind)
#514A2E
Tritanopia (blue-blind)
#900020
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #831231;
/* rgb */ color: rgb(131, 18, 49);
/* oklch */ color: oklch(39.8% 0.146 12.5);
Tailwind
colors: {
  custom: {
    50: '#ae5f68',
    500: '#831231',
    950: '#000000',
  },
}
SCSS
$custom: #831231;
$custom-light: #ae5f68;
$custom-dark: #000000;
JSON
{
  "hex": "#831231",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 343.54,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39849,
    "c": 0.14565,
    "h": 12.5
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#831231
secondary
#38B895
accent
#F2BF35
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#120506
muted
#81797A

Preview Lab

Preview with #831231

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

Preview Lab → · Contrast checker → · Palette generator →

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