#781A28#781A28

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

Color values

HEX#781A28
RGBrgb(120, 26, 40)
HSLhsl(351, 64%, 29%)
HSVhsv(351, 78%, 47%)
CMYKcmyk(0%, 78.3%, 66.7%, 52.9%)
CIE-LABlab(26.41, 40.79, 16.25)
CIE-LCHlch(26.41, 43.91, 21.72°)
OKLaboklab(38.15% 0.1214 0.039)
OKLCHoklch(38.15% 0.128 17.8)
XYZxyz(8.4990, 4.8863, 2.5027)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A28 #1A786A
analogous
#781A57 #781A28 #783B1A
triadic
#781A28 #28781A #1A2878
tetradic
#781A28 #57781A #1A786A #3B1A78
square
#781A28 #57781A #1A786A #3B1A78
split-complementary
#781A28 #1A783B #1A5778
monochromatic
#190508 #460F17 #781A28 #AA2539 #D43850

Accessibility & contrast

On white

10.62
#781A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781A28
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A28#FFFFFF#000000##FFFFFF
##781A281.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781a28;
/* rgb */ color: rgb(120, 26, 40);
/* oklch */ color: oklch(38.2% 0.128 17.8);
Tailwind
colors: {
  custom: {
    50: '#a55f61',
    500: '#781a28',
    950: '#000000',
  },
}
SCSS
$custom: #781a28;
$custom-light: #a55f61;
$custom-dark: #000000;
JSON
{
  "hex": "#781a28",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 351.064,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38151,
    "c": 0.12753,
    "h": 17.8
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#781A28
secondary
#41AC9D
accent
#E7CF40
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#100505
muted
#7F7979

Preview Lab

Preview with #781A28

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

Preview Lab → · Contrast checker → · Palette generator →

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