#831229#831229

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

Color values

HEX#831229
RGBrgb(131, 18, 41)
HSLhsl(348, 76%, 29%)
HSVhsv(348, 86%, 51%)
CMYKcmyk(0%, 86.3%, 68.7%, 48.6%)
CIE-LABlab(27.90, 46.65, 17.96)
CIE-LCHlch(27.90, 49.99, 21.06°)
OKLaboklab(39.67% 0.1389 0.0426)
OKLCHoklch(39.67% 0.145 17)
XYZxyz(9.9777, 5.4196, 2.6181)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831229 #12836C
analogous
#831262 #831229 #833412
triadic
#831229 #298312 #122983
tetradic
#831229 #628312 #12836C #341283
square
#831229 #628312 #12836C #341283
split-complementary
#831229 #128334 #126283
monochromatic
#1B0408 #4D0B18 #831229 #B9193A #E22D52

Accessibility & contrast

On white

10.08
#831229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831229
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831229#FFFFFF#000000##FFFFFF
##8312291.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363329
Deuteranopia (green-blind)
#524A26
Tritanopia (blue-blind)
#90001D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #831229;
/* rgb */ color: rgb(131, 18, 41);
/* oklch */ color: oklch(39.7% 0.145 17.0);
Tailwind
colors: {
  custom: {
    50: '#ae5f62',
    500: '#831229',
    950: '#000000',
  },
}
SCSS
$custom: #831229;
$custom-light: #ae5f62;
$custom-dark: #000000;
JSON
{
  "hex": "#831229",
  "rgb": {
    "r": 131,
    "g": 18,
    "b": 41
  },
  "hsl": {
    "h": 347.788,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39673,
    "c": 0.14524,
    "h": 17
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#831229
secondary
#38B89E
accent
#F2CC35
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#120505
muted
#817979

Preview Lab

Preview with #831229

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

Preview Lab → · Contrast checker → · Palette generator →

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