#831F28#831F28

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

Color values

HEX#831F28
RGBrgb(131, 31, 40)
HSLhsl(355, 62%, 32%)
HSVhsv(355, 76%, 51%)
CMYKcmyk(0%, 76.3%, 69.5%, 48.6%)
CIE-LABlab(29.31, 42.56, 20.39)
CIE-LCHlch(29.31, 47.20, 25.60°)
OKLaboklab(40.71% 0.1255 0.0479)
OKLCHoklch(40.71% 0.134 20.9)
XYZxyz(10.2342, 5.9600, 2.6186)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F28 #1F837A
analogous
#831F5A #831F28 #83481F
triadic
#831F28 #28831F #1F2883
tetradic
#831F28 #5A831F #1F837A #481F83
square
#831F28 #5A831F #1F837A #481F83
split-complementary
#831F28 #1F8348 #1F5A83
monochromatic
#20080A #521319 #831F28 #B42B37 #D44955

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831F28#FFFFFF#000000##FFFFFF
##831F281.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)
#3C3728
Deuteranopia (green-blind)
#554D25
Tritanopia (blue-blind)
#900023
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f28;
/* rgb */ color: rgb(131, 31, 40);
/* oklch */ color: oklch(40.7% 0.134 20.9);
Tailwind
colors: {
  custom: {
    50: '#ae6361',
    500: '#831f28',
    950: '#000000',
  },
}
SCSS
$custom: #831f28;
$custom-light: #ae6361;
$custom-dark: #000000;
JSON
{
  "hex": "#831f28",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 354.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40714,
    "c": 0.13436,
    "h": 20.9
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#831F28
secondary
#48B6AC
accent
#E5D643
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #831F28

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

Preview Lab → · Contrast checker → · Palette generator →

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