#831731#831731

#831731 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.142 H 13.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#831731
RGBrgb(131, 23, 49)
HSLhsl(346, 70%, 30%)
HSVhsv(346, 82%, 51%)
CMYKcmyk(0%, 82.4%, 62.6%, 48.6%)
CIE-LABlab(28.54, 45.79, 13.45)
CIE-LCHlch(28.54, 47.72, 16.37°)
OKLaboklab(40.2% 0.1378 0.033)
OKLCHoklch(40.2% 0.142 13.5)
XYZxyz(10.2219, 5.6614, 3.4596)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831731 #178369
analogous
#831767 #831731 #833317
triadic
#831731 #318317 #173183
tetradic
#831731 #678317 #178369 #331783
square
#831731 #678317 #178369 #331783
split-complementary
#831731 #178333 #176783
monochromatic
#1B050A #4F0E1E #831731 #B72044 #DC3860

Accessibility & contrast

On white

9.85
#831731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#831731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831731
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831731#FFFFFF#000000##FFFFFF
##8317311.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363531
Deuteranopia (green-blind)
#524B2E
Tritanopia (blue-blind)
#900022
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831731;
/* rgb */ color: rgb(131, 23, 49);
/* oklch */ color: oklch(40.2% 0.142 13.5);
Tailwind
colors: {
  custom: {
    50: '#ae6068',
    500: '#831731',
    950: '#000000',
  },
}
SCSS
$custom: #831731;
$custom-light: #ae6068;
$custom-dark: #000000;
JSON
{
  "hex": "#831731",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 345.556,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40201,
    "c": 0.1417,
    "h": 13.5
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#831731
secondary
#3FB79A
accent
#EDC23B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #831731

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

Preview Lab → · Contrast checker → · Palette generator →

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