#831226#831226

#831226 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.6% C 0.145 H 18.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#831226
RGBrgb(131, 18, 38)
HSLhsl(349, 76%, 29%)
HSVhsv(349, 86%, 51%)
CMYKcmyk(0%, 86.3%, 71%, 48.6%)
CIE-LABlab(27.84, 46.49, 19.89)
CIE-LCHlch(27.84, 50.56, 23.16°)
OKLaboklab(39.62% 0.1376 0.0465)
OKLCHoklch(39.62% 0.145 18.7)
XYZxyz(9.9274, 5.3994, 2.3528)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831226 #12836F
analogous
#83125F #831226 #833712
triadic
#831226 #268312 #122683
tetradic
#831226 #5F8312 #12836F #371283
square
#831226 #5F8312 #12836F #371283
split-complementary
#831226 #128337 #125F83
monochromatic
#1B0408 #4D0B16 #831226 #B91936 #E22D4D

Accessibility & contrast

On white

10.10
#831226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#831226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831226
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831226#FFFFFF#000000##FFFFFF
##8312261.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363326
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#91001B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #831226;
/* rgb */ color: rgb(131, 18, 38);
/* oklch */ color: oklch(39.6% 0.145 18.7);
Tailwind
colors: {
  custom: {
    50: '#af5e60',
    500: '#831226',
    950: '#000000',
  },
}
SCSS
$custom: #831226;
$custom-light: #af5e60;
$custom-dark: #000000;
JSON
{
  "hex": "#831226",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 349.381,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39616,
    "c": 0.14526,
    "h": 18.7
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#831226
secondary
#38B8A2
accent
#F2D135
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979

Preview Lab

Preview with #831226

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

Preview Lab → · Contrast checker → · Palette generator →

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