#781B26#781B26

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

Color values

HEX#781B26
RGBrgb(120, 27, 38)
HSLhsl(353, 63%, 29%)
HSVhsv(353, 78%, 47%)
CMYKcmyk(0%, 77.5%, 68.3%, 52.9%)
CIE-LABlab(26.50, 40.30, 17.70)
CIE-LCHlch(26.50, 44.02, 23.72°)
OKLaboklab(38.21% 0.1194 0.042)
OKLCHoklch(38.21% 0.127 19.4)
XYZxyz(8.4884, 4.9181, 2.3357)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B26 #1B786D
analogous
#781B55 #781B26 #783F1B
triadic
#781B26 #26781B #1B2678
tetradic
#781B26 #55781B #1B786D #3F1B78
square
#781B26 #55781B #1B786D #3F1B78
split-complementary
#781B26 #1B783F #1B5578
monochromatic
#190608 #461016 #781B26 #AA2636 #D33B4D

Accessibility & contrast

On white

10.59
#781B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B26
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B26#FFFFFF#000000##FFFFFF
##781B261.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781b26;
/* rgb */ color: rgb(120, 27, 38);
/* oklch */ color: oklch(38.2% 0.127 19.4);
Tailwind
colors: {
  custom: {
    50: '#a56060',
    500: '#781b26',
    950: '#000000',
  },
}
SCSS
$custom: #781b26;
$custom-light: #a56060;
$custom-dark: #000000;
JSON
{
  "hex": "#781b26",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 38
  },
  "hsl": {
    "h": 352.903,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38207,
    "c": 0.1266,
    "h": 19.4
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#781B26
secondary
#43ACA0
accent
#E6D341
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#110504
muted
#807979

Preview Lab

Preview with #781B26

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

Preview Lab → · Contrast checker → · Palette generator →

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