#831F27#831F27

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

Color values

HEX#831F27
RGBrgb(131, 31, 39)
HSLhsl(355, 62%, 32%)
HSVhsv(355, 76%, 51%)
CMYKcmyk(0%, 76.3%, 70.2%, 48.6%)
CIE-LABlab(29.29, 42.51, 21.02)
CIE-LCHlch(29.29, 47.42, 26.31°)
OKLaboklab(40.7% 0.1251 0.0492)
OKLCHoklch(40.7% 0.134 21.5)
XYZxyz(10.2174, 5.9533, 2.5302)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F27 #1F837B
analogous
#831F59 #831F27 #83491F
triadic
#831F27 #27831F #1F2783
tetradic
#831F27 #59831F #1F837B #491F83
square
#831F27 #59831F #1F837B #491F83
split-complementary
#831F27 #1F8349 #1F5983
monochromatic
#20080A #521318 #831F27 #B42B36 #D44954

Accessibility & contrast

On white

9.59
#831F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831F27
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F27#FFFFFF#000000##FFFFFF
##831F271.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3726
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#900023
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f27;
/* rgb */ color: rgb(131, 31, 39);
/* oklch */ color: oklch(40.7% 0.134 21.5);
Tailwind
colors: {
  custom: {
    50: '#ae6361',
    500: '#831f27',
    950: '#000000',
  },
}
SCSS
$custom: #831f27;
$custom-light: #ae6361;
$custom-dark: #000000;
JSON
{
  "hex": "#831f27",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 355.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40696,
    "c": 0.13443,
    "h": 21.5
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#831F27
secondary
#48B6AD
accent
#E5D843
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #831F27

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

Preview Lab → · Contrast checker → · Palette generator →

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