#781E26#781E26

#781E26 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.5% C 0.124 H 20.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#781E26
RGBrgb(120, 30, 38)
HSLhsl(355, 60%, 29%)
HSVhsv(355, 75%, 47%)
CMYKcmyk(0%, 75%, 68.3%, 52.9%)
CIE-LABlab(26.91, 39.16, 18.23)
CIE-LCHlch(26.91, 43.19, 24.96°)
OKLaboklab(38.51% 0.1158 0.0432)
OKLCHoklch(38.51% 0.124 20.5)
XYZxyz(8.5608, 5.0628, 2.3598)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E26 #1E7870
analogous
#781E53 #781E26 #78431E
triadic
#781E26 #26781E #1E2678
tetradic
#781E26 #53781E #1E7870 #431E78
square
#781E26 #53781E #1E7870 #431E78
split-complementary
#781E26 #1E7843 #1E5378
monochromatic
#180608 #471216 #781E26 #A92A36 #CF414E

Accessibility & contrast

On white

10.44
#781E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#781E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E26
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E26#FFFFFF#000000##FFFFFF
##781E261.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373326
Deuteranopia (green-blind)
#4E4723
Tritanopia (blue-blind)
#840122
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781e26;
/* rgb */ color: rgb(120, 30, 38);
/* oklch */ color: oklch(38.5% 0.124 20.5);
Tailwind
colors: {
  custom: {
    50: '#a56160',
    500: '#781e26',
    950: '#000000',
  },
}
SCSS
$custom: #781e26;
$custom-light: #a56160;
$custom-dark: #000000;
JSON
{
  "hex": "#781e26",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 354.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38514,
    "c": 0.12356,
    "h": 20.5
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#781E26
secondary
#46ACA3
accent
#E3D545
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100504
muted
#7F7A79

Preview Lab

Preview with #781E26

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

Preview Lab → · Contrast checker → · Palette generator →

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