#781D26#781D26

#781D26 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.125 H 20.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#781D26
RGBrgb(120, 29, 38)
HSLhsl(354, 61%, 29%)
HSVhsv(354, 76%, 47%)
CMYKcmyk(0%, 75.8%, 68.3%, 52.9%)
CIE-LABlab(26.77, 39.55, 18.05)
CIE-LCHlch(26.77, 43.47, 24.53°)
OKLaboklab(38.41% 0.117 0.0428)
OKLCHoklch(38.41% 0.125 20.1)
XYZxyz(8.5359, 5.0130, 2.3515)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D26 #1D786F
analogous
#781D54 #781D26 #78421D
triadic
#781D26 #26781D #1D2678
tetradic
#781D26 #54781D #1D786F #421D78
square
#781D26 #54781D #1D786F #421D78
split-complementary
#781D26 #1D7842 #1D5478
monochromatic
#190608 #471116 #781D26 #A92936 #D13F4D

Accessibility & contrast

On white

10.49
#781D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#781D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D26
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D26#FFFFFF#000000##FFFFFF
##781D261.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373326
Deuteranopia (green-blind)
#4D4623
Tritanopia (blue-blind)
#840021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781d26;
/* rgb */ color: rgb(120, 29, 38);
/* oklch */ color: oklch(38.4% 0.125 20.1);
Tailwind
colors: {
  custom: {
    50: '#a56160',
    500: '#781d26',
    950: '#000000',
  },
}
SCSS
$custom: #781d26;
$custom-light: #a56160;
$custom-dark: #000000;
JSON
{
  "hex": "#781d26",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 38
  },
  "hsl": {
    "h": 354.066,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38409,
    "c": 0.1246,
    "h": 20.1
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#781D26
secondary
#45ACA2
accent
#E4D444
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100504
muted
#7F7A79

Preview Lab

Preview with #781D26

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

Preview Lab → · Contrast checker → · Palette generator →

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