#802131#802131

#802131 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.129 H 15.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#802131
RGBrgb(128, 33, 49)
HSLhsl(350, 59%, 32%)
HSVhsv(350, 74%, 50%)
CMYKcmyk(0%, 74.2%, 61.7%, 49.8%)
CIE-LABlab(29.16, 41.40, 14.16)
CIE-LCHlch(29.16, 43.76, 18.89°)
OKLaboklab(40.55% 0.1241 0.0347)
OKLCHoklch(40.55% 0.129 15.6)
XYZxyz(10.0013, 5.9001, 3.5173)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802131 #218070
analogous
#802161 #802131 #804121
triadic
#802131 #318021 #213180
tetradic
#802131 #618021 #218070 #412180
square
#802131 #618021 #218070 #412180
split-complementary
#802131 #218041 #216180
monochromatic
#1F080C #4F141E #802131 #B12E44 #D14B61

Accessibility & contrast

On white

9.63
#802131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#802131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802131
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802131#FFFFFF#000000##FFFFFF
##8021311.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#524C2E
Tritanopia (blue-blind)
#8D0628
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #802131;
/* rgb */ color: rgb(128, 33, 49);
/* oklch */ color: oklch(40.5% 0.129 15.6);
Tailwind
colors: {
  custom: {
    50: '#ab6468',
    500: '#802131',
    950: '#000000',
  },
}
SCSS
$custom: #802131;
$custom-light: #ab6468;
$custom-dark: #000000;
JSON
{
  "hex": "#802131",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 349.895,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40548,
    "c": 0.12888,
    "h": 15.6
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#802131
secondary
#4AB3A1
accent
#E2C846
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #802131

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

Preview Lab → · Contrast checker → · Palette generator →

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