#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 |
|---|---|
| RGB | rgb(131, 18, 38) |
| HSL | hsl(349, 76%, 29%) |
| HSV | hsv(349, 86%, 51%) |
| CMYK | cmyk(0%, 86.3%, 71%, 48.6%) |
| CIE-LAB | lab(27.84, 46.49, 19.89) |
| CIE-LCH | lch(27.84, 50.56, 23.16°) |
| OKLab | oklab(39.62% 0.1376 0.0465) |
| OKLCH | oklch(39.62% 0.145 18.7) |
| XYZ | xyz(9.9274, 5.3994, 2.3528) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 1.72
Wine Red
#7B0323
ΔE00 2.47
Bordeaux
#7B002C
ΔE00 5.25
Red Wine
#8C0034
ΔE00 5.36
Claret
#680018
ΔE00 5.79
Cranberry
#9E003A
ΔE00 6.80
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 |
|---|---|---|---|---|
| ##831226 | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.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