#831F38#831F38

#831F38 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.135 H 11.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#831F38
RGBrgb(131, 31, 56)
HSLhsl(345, 62%, 32%)
HSVhsv(345, 76%, 51%)
CMYKcmyk(0%, 76.3%, 57.3%, 48.6%)
CIE-LABlab(29.64, 43.66, 10.27)
CIE-LCHlch(29.64, 44.86, 13.24°)
OKLaboklab(41.07% 0.1322 0.0259)
OKLCHoklch(41.07% 0.135 11.1)
XYZxyz(10.5649, 6.0923, 4.3602)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F38 #1F836A
analogous
#831F6A #831F38 #83381F
triadic
#831F38 #38831F #1F3883
tetradic
#831F38 #6A831F #1F836A #381F83
square
#831F38 #6A831F #1F836A #381F83
split-complementary
#831F38 #1F8338 #1F6A83
monochromatic
#20080E #521323 #831F38 #B42B4D #D4496B

Accessibility & contrast

On white

9.47
#831F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#831F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F38
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F38#FFFFFF#000000##FFFFFF
##831F381.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393938
Deuteranopia (green-blind)
#534D35
Tritanopia (blue-blind)
#900329
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831f38;
/* rgb */ color: rgb(131, 31, 56);
/* oklch */ color: oklch(41.1% 0.135 11.1);
Tailwind
colors: {
  custom: {
    50: '#ad646e',
    500: '#831f38',
    950: '#000000',
  },
}
SCSS
$custom: #831f38;
$custom-light: #ad646e;
$custom-dark: #000000;
JSON
{
  "hex": "#831f38",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 345,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.13471,
    "h": 11.1
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#831F38
secondary
#48B69A
accent
#E5BC43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #831F38

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

Preview Lab → · Contrast checker → · Palette generator →

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