#831A27#831A27

#831A27 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.139 H 20.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#831A27
RGBrgb(131, 26, 39)
HSLhsl(353, 67%, 31%)
HSVhsv(353, 80%, 51%)
CMYKcmyk(0%, 80.2%, 70.2%, 48.6%)
CIE-LABlab(28.67, 44.24, 20.26)
CIE-LCHlch(28.67, 48.66, 24.60°)
OKLaboklab(40.24% 0.1306 0.0475)
OKLCHoklch(40.24% 0.139 20)
XYZxyz(10.0968, 5.7121, 2.4900)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A27 #1A8376
analogous
#831A5B #831A27 #83411A
triadic
#831A27 #27831A #1A2783
tetradic
#831A27 #5B831A #1A8376 #411A83
square
#831A27 #5B831A #1A8376 #411A83
split-complementary
#831A27 #1A8341 #1A5B83
monochromatic
#1D0609 #501018 #831A27 #B62436 #D93F52

Accessibility & contrast

On white

9.80
#831A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#831A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A27
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A27#FFFFFF#000000##FFFFFF
##831A271.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831a27;
/* rgb */ color: rgb(131, 26, 39);
/* oklch */ color: oklch(40.2% 0.139 20.0);
Tailwind
colors: {
  custom: {
    50: '#ae6161',
    500: '#831a27',
    950: '#000000',
  },
}
SCSS
$custom: #831a27;
$custom-light: #ae6161;
$custom-dark: #000000;
JSON
{
  "hex": "#831a27",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 39
  },
  "hsl": {
    "h": 352.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.139,
    "h": 20
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#831A27
secondary
#42B7A8
accent
#EAD53E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120505
muted
#817A79

Preview Lab

Preview with #831A27

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

Preview Lab → · Contrast checker → · Palette generator →

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