#831726#831726

#831726 is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.142 H 19.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#831726
RGBrgb(131, 23, 38)
HSLhsl(352, 70%, 30%)
HSVhsv(352, 82%, 51%)
CMYKcmyk(0%, 82.4%, 71%, 48.6%)
CIE-LABlab(28.33, 45.12, 20.48)
CIE-LCHlch(28.33, 49.55, 24.41°)
OKLaboklab(39.97% 0.1332 0.0478)
OKLCHoklch(39.97% 0.142 19.7)
XYZxyz(10.0175, 5.5796, 2.3829)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831726 #178374
analogous
#83175C #831726 #833E17
triadic
#831726 #268317 #172683
tetradic
#831726 #5C8317 #178374 #3E1783
square
#831726 #5C8317 #178374 #3E1783
split-complementary
#831726 #17833E #175C83
monochromatic
#1B0508 #4F0E17 #831726 #B72035 #DC384F

Accessibility & contrast

On white

9.93
#831726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#831726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831726
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831726#FFFFFF#000000##FFFFFF
##8317261.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383426
Deuteranopia (green-blind)
#534B23
Tritanopia (blue-blind)
#90001E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831726;
/* rgb */ color: rgb(131, 23, 38);
/* oklch */ color: oklch(40.0% 0.142 19.7);
Tailwind
colors: {
  custom: {
    50: '#ae6060',
    500: '#831726',
    950: '#000000',
  },
}
SCSS
$custom: #831726;
$custom-light: #ae6060;
$custom-dark: #000000;
JSON
{
  "hex": "#831726",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 38
  },
  "hsl": {
    "h": 351.667,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39972,
    "c": 0.14155,
    "h": 19.7
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#831726
secondary
#3FB7A6
accent
#EDD43B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #831726

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

Preview Lab → · Contrast checker → · Palette generator →

#831726 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva