#781A29#781A29

#781A29 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.128 H 17.2°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#781A29
RGBrgb(120, 26, 41)
HSLhsl(350, 64%, 29%)
HSVhsv(350, 78%, 47%)
CMYKcmyk(0%, 78.3%, 65.8%, 52.9%)
CIE-LABlab(26.43, 40.86, 15.61)
CIE-LCHlch(26.43, 43.74, 20.91°)
OKLaboklab(38.17% 0.1219 0.0376)
OKLCHoklch(38.17% 0.128 17.2)
XYZxyz(8.5163, 4.8932, 2.5934)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A29 #1A7869
analogous
#781A58 #781A29 #783A1A
triadic
#781A29 #29781A #1A2978
tetradic
#781A29 #58781A #1A7869 #3A1A78
square
#781A29 #58781A #1A7869 #3A1A78
split-complementary
#781A29 #1A783A #1A5878
monochromatic
#190509 #460F18 #781A29 #AA253A #D43851

Accessibility & contrast

On white

10.61
#781A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#781A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A29
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A29#FFFFFF#000000##FFFFFF
##781A291.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343229
Deuteranopia (green-blind)
#4C4626
Tritanopia (blue-blind)
#840020
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781a29;
/* rgb */ color: rgb(120, 26, 41);
/* oklch */ color: oklch(38.2% 0.128 17.2);
Tailwind
colors: {
  custom: {
    50: '#a56062',
    500: '#781a29',
    950: '#000000',
  },
}
SCSS
$custom: #781a29;
$custom-light: #a56062;
$custom-dark: #000000;
JSON
{
  "hex": "#781a29",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 41
  },
  "hsl": {
    "h": 350.426,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38172,
    "c": 0.12752,
    "h": 17.2
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#781A29
secondary
#41AC9B
accent
#E7CD40
background
#FAF5F5
surface
#F4EAEA
border
#CEC6C6
text
#100505
muted
#7F7979

Preview Lab

Preview with #781A29

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

Preview Lab → · Contrast checker → · Palette generator →

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