#781E28#781E28

#781E28 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.123 H 19.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#781E28
RGBrgb(120, 30, 40)
HSLhsl(353, 60%, 29%)
HSVhsv(353, 75%, 47%)
CMYKcmyk(0%, 75%, 66.7%, 52.9%)
CIE-LABlab(26.95, 39.28, 16.95)
CIE-LCHlch(26.95, 42.78, 23.34°)
OKLaboklab(38.55% 0.1166 0.0406)
OKLCHoklch(38.55% 0.123 19.2)
XYZxyz(8.5939, 5.0761, 2.5343)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E28 #1E786E
analogous
#781E55 #781E28 #78411E
triadic
#781E28 #28781E #1E2878
tetradic
#781E28 #55781E #1E786E #411E78
square
#781E28 #55781E #1E786E #411E78
split-complementary
#781E28 #1E7841 #1E5578
monochromatic
#180608 #471218 #781E28 #A92A38 #CF4151

Accessibility & contrast

On white

10.42
#781E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#781E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E28
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E28#FFFFFF#000000##FFFFFF
##781E281.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373428
Deuteranopia (green-blind)
#4E4725
Tritanopia (blue-blind)
#840222
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781e28;
/* rgb */ color: rgb(120, 30, 40);
/* oklch */ color: oklch(38.6% 0.123 19.2);
Tailwind
colors: {
  custom: {
    50: '#a56161',
    500: '#781e28',
    950: '#000000',
  },
}
SCSS
$custom: #781e28;
$custom-light: #a56161;
$custom-dark: #000000;
JSON
{
  "hex": "#781e28",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 353.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38554,
    "c": 0.12345,
    "h": 19.2
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#781E28
secondary
#46ACA0
accent
#E3D245
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100505
muted
#7F7A79

Preview Lab

Preview with #781E28

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

Preview Lab → · Contrast checker → · Palette generator →

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