#782126#782126

#782126 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.8% C 0.120 H 21.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#782126
RGBrgb(120, 33, 38)
HSLhsl(357, 57%, 30%)
HSVhsv(357, 73%, 47%)
CMYKcmyk(0%, 72.5%, 68.3%, 52.9%)
CIE-LABlab(27.36, 37.93, 18.79)
CIE-LCHlch(27.36, 42.33, 26.35°)
OKLaboklab(38.85% 0.1119 0.0445)
OKLCHoklch(38.85% 0.12 21.7)
XYZxyz(8.6403, 5.2220, 2.3863)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782126 #217873
analogous
#782151 #782126 #784821
triadic
#782126 #267821 #212678
tetradic
#782126 #517821 #217873 #482178
square
#782126 #517821 #217873 #482178
split-complementary
#782126 #217848 #215178
monochromatic
#180708 #481417 #782126 #A82E35 #CC474F

Accessibility & contrast

On white

10.27
#782126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#782126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782126
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782126#FFFFFF#000000##FFFFFF
##7821261.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393525
Deuteranopia (green-blind)
#4F4723
Tritanopia (blue-blind)
#840824
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #782126;
/* rgb */ color: rgb(120, 33, 38);
/* oklch */ color: oklch(38.8% 0.120 21.7);
Tailwind
colors: {
  custom: {
    50: '#a56360',
    500: '#782126',
    950: '#000000',
  },
}
SCSS
$custom: #782126;
$custom-light: #a56360;
$custom-dark: #000000;
JSON
{
  "hex": "#782126",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 38
  },
  "hsl": {
    "h": 356.552,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.38846,
    "c": 0.12037,
    "h": 21.7
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#782126
secondary
#4AABA6
accent
#E0D748
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100504
muted
#7F7A79

Preview Lab

Preview with #782126

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

Preview Lab → · Contrast checker → · Palette generator →

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