#831A28#831A28

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

Color values

HEX#831A28
RGBrgb(131, 26, 40)
HSLhsl(352, 67%, 31%)
HSVhsv(352, 80%, 51%)
CMYKcmyk(0%, 80.2%, 69.5%, 48.6%)
CIE-LABlab(28.69, 44.30, 19.62)
CIE-LCHlch(28.69, 48.45, 23.89°)
OKLaboklab(40.25% 0.1311 0.0462)
OKLCHoklch(40.25% 0.139 19.4)
XYZxyz(10.1136, 5.7188, 2.5784)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A28 #1A8375
analogous
#831A5C #831A28 #83401A
triadic
#831A28 #28831A #1A2883
tetradic
#831A28 #5C831A #1A8375 #401A83
square
#831A28 #5C831A #1A8375 #401A83
split-complementary
#831A28 #1A8340 #1A5C83
monochromatic
#1D0609 #501018 #831A28 #B62438 #D93F53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831A28#FFFFFF#000000##FFFFFF
##831A281.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)
#393528
Deuteranopia (green-blind)
#534C25
Tritanopia (blue-blind)
#900020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831a28;
/* rgb */ color: rgb(131, 26, 40);
/* oklch */ color: oklch(40.3% 0.139 19.4);
Tailwind
colors: {
  custom: {
    50: '#ae6161',
    500: '#831a28',
    950: '#000000',
  },
}
SCSS
$custom: #831a28;
$custom-light: #ae6161;
$custom-dark: #000000;
JSON
{
  "hex": "#831a28",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 352,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.13896,
    "h": 19.4
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#831A28
secondary
#42B7A7
accent
#EAD33E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120505
muted
#817A79

Preview Lab

Preview with #831A28

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

Preview Lab → · Contrast checker → · Palette generator →

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