#831F29#831F29

#831F29 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.134 H 20.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#831F29
RGBrgb(131, 31, 41)
HSLhsl(354, 62%, 32%)
HSVhsv(354, 76%, 51%)
CMYKcmyk(0%, 76.3%, 68.7%, 48.6%)
CIE-LABlab(29.33, 42.62, 19.76)
CIE-LCHlch(29.33, 46.98, 24.88°)
OKLaboklab(40.73% 0.1259 0.0466)
OKLCHoklch(40.73% 0.134 20.3)
XYZxyz(10.2514, 5.9669, 2.7093)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F29 #1F8379
analogous
#831F5B #831F29 #83471F
triadic
#831F29 #29831F #1F2983
tetradic
#831F29 #5B831F #1F8379 #471F83
square
#831F29 #5B831F #1F8379 #471F83
split-complementary
#831F29 #1F8347 #1F5B83
monochromatic
#20080A #52131A #831F29 #B42B38 #D44956

Accessibility & contrast

On white

9.58
#831F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831F29
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F29#FFFFFF#000000##FFFFFF
##831F291.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3829
Deuteranopia (green-blind)
#554D26
Tritanopia (blue-blind)
#900024
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f29;
/* rgb */ color: rgb(131, 31, 41);
/* oklch */ color: oklch(40.7% 0.134 20.3);
Tailwind
colors: {
  custom: {
    50: '#ae6362',
    500: '#831f29',
    950: '#000000',
  },
}
SCSS
$custom: #831f29;
$custom-light: #ae6362;
$custom-dark: #000000;
JSON
{
  "hex": "#831f29",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 354,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40733,
    "c": 0.13429,
    "h": 20.3
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#831F29
secondary
#48B6AB
accent
#E5D543
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #831F29

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

Preview Lab → · Contrast checker → · Palette generator →

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