#802126#802126

#802126 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.129 H 22.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#802126
RGBrgb(128, 33, 38)
HSLhsl(357, 59%, 32%)
HSVhsv(357, 74%, 50%)
CMYKcmyk(0%, 74.2%, 70.3%, 49.8%)
CIE-LABlab(28.95, 40.69, 21.11)
CIE-LCHlch(28.95, 45.84, 27.42°)
OKLaboklab(40.32% 0.1195 0.0493)
OKLCHoklch(40.32% 0.129 22.4)
XYZxyz(9.7969, 5.8183, 2.4405)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802126 #21807B
analogous
#802156 #802126 #804C21
triadic
#802126 #268021 #212680
tetradic
#802126 #568021 #21807B #4C2180
square
#802126 #568021 #21807B #4C2180
split-complementary
#802126 #21804C #215680
monochromatic
#1F0809 #4F1418 #802126 #B12E34 #D14B52

Accessibility & contrast

On white

9.71
#802126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#802126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802126
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802126#FFFFFF#000000##FFFFFF
##8021261.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3725
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#8D0024
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #802126;
/* rgb */ color: rgb(128, 33, 38);
/* oklch */ color: oklch(40.3% 0.129 22.4);
Tailwind
colors: {
  custom: {
    50: '#ac6460',
    500: '#802126',
    950: '#000000',
  },
}
SCSS
$custom: #802126;
$custom-light: #ac6460;
$custom-dark: #000000;
JSON
{
  "hex": "#802126",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 38
  },
  "hsl": {
    "h": 356.842,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40324,
    "c": 0.12929,
    "h": 22.4
  },
  "luminance": 0.05817
}

Semantic roles & 50–950 ramp

primary
#802126
secondary
#4AB3AD
accent
#E2DA46
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #802126

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

Preview Lab → · Contrast checker → · Palette generator →

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