#831B27#831B27

#831B27 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.138 H 20.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#831B27
RGBrgb(131, 27, 39)
HSLhsl(353, 66%, 31%)
HSVhsv(353, 79%, 51%)
CMYKcmyk(0%, 79.4%, 70.2%, 48.6%)
CIE-LABlab(28.79, 43.91, 20.40)
CIE-LCHlch(28.79, 48.42, 24.92°)
OKLaboklab(40.32% 0.1296 0.0478)
OKLCHoklch(40.32% 0.138 20.2)
XYZxyz(10.1193, 5.7572, 2.4975)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B27 #1B8377
analogous
#831B5B #831B27 #83431B
triadic
#831B27 #27831B #1B2783
tetradic
#831B27 #5B831B #1B8377 #431B83
square
#831B27 #5B831B #1B8377 #431B83
split-complementary
#831B27 #1B8343 #1B5B83
monochromatic
#1E0609 #501118 #831B27 #B62536 #D84152

Accessibility & contrast

On white

9.76
#831B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#831B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B27
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B27#FFFFFF#000000##FFFFFF
##831B271.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3627
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#900020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831b27;
/* rgb */ color: rgb(131, 27, 39);
/* oklch */ color: oklch(40.3% 0.138 20.2);
Tailwind
colors: {
  custom: {
    50: '#ae6261',
    500: '#831b27',
    950: '#000000',
  },
}
SCSS
$custom: #831b27;
$custom-light: #ae6261;
$custom-dark: #000000;
JSON
{
  "hex": "#831b27",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 353.077,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.13813,
    "h": 20.2
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#831B27
secondary
#43B6A9
accent
#E9D53F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #831B27

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

Preview Lab → · Contrast checker → · Palette generator →

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