#781A21#781A21

#781A21 is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.0% C 0.128 H 22.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#781A21
RGBrgb(120, 26, 33)
HSLhsl(356, 64%, 29%)
HSVhsv(356, 78%, 47%)
CMYKcmyk(0%, 78.3%, 72.5%, 52.9%)
CIE-LABlab(26.28, 40.38, 20.74)
CIE-LCHlch(26.28, 45.40, 27.19°)
OKLaboklab(38.02% 0.1185 0.0481)
OKLCHoklch(38.02% 0.128 22.1)
XYZxyz(8.3906, 4.8429, 1.9315)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A21 #1A7871
analogous
#781A50 #781A21 #78421A
triadic
#781A21 #21781A #1A2178
tetradic
#781A21 #50781A #1A7871 #421A78
square
#781A21 #50781A #1A7871 #421A78
split-complementary
#781A21 #1A7842 #1A5078
monochromatic
#190507 #460F13 #781A21 #AA252F #D43844

Accessibility & contrast

On white

10.67
#781A21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#781A21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A21
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A21#FFFFFF#000000##FFFFFF
##781A211.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363120
Deuteranopia (green-blind)
#4D451E
Tritanopia (blue-blind)
#84001E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781a21;
/* rgb */ color: rgb(120, 26, 33);
/* oklch */ color: oklch(38.0% 0.128 22.1);
Tailwind
colors: {
  custom: {
    50: '#a65f5c',
    500: '#781a21',
    950: '#000000',
  },
}
SCSS
$custom: #781a21;
$custom-light: #a65f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#781a21",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 33
  },
  "hsl": {
    "h": 355.532,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38017,
    "c": 0.12788,
    "h": 22.1
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#781A21
secondary
#41ACA5
accent
#E7DB40
background
#FBF5F5
surface
#F5EAE9
border
#CFC6C5
text
#110504
muted
#807979

Preview Lab

Preview with #781A21

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

Preview Lab → · Contrast checker → · Palette generator →

#781A21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva