#781E2A#781E2A

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

Color values

HEX#781E2A
RGBrgb(120, 30, 42)
HSLhsl(352, 60%, 29%)
HSVhsv(352, 75%, 47%)
CMYKcmyk(0%, 75%, 65%, 52.9%)
CIE-LABlab(26.99, 39.42, 15.67)
CIE-LCHlch(26.99, 42.42, 21.68°)
OKLaboklab(38.6% 0.1175 0.0378)
OKLCHoklch(38.6% 0.123 17.9)
XYZxyz(8.6288, 5.0900, 2.7182)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E2A #1E786C
analogous
#781E57 #781E2A #783F1E
triadic
#781E2A #2A781E #1E2A78
tetradic
#781E2A #57781E #1E786C #3F1E78
square
#781E2A #57781E #1E786C #3F1E78
split-complementary
#781E2A #1E783F #1E5778
monochromatic
#180609 #471219 #781E2A #A92A3B #CF4154

Accessibility & contrast

On white

10.41
#781E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E2A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E2A#FFFFFF#000000##FFFFFF
##781E2A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342A
Deuteranopia (green-blind)
#4D4728
Tritanopia (blue-blind)
#840323
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781e2a;
/* rgb */ color: rgb(120, 30, 42);
/* oklch */ color: oklch(38.6% 0.123 17.9);
Tailwind
colors: {
  custom: {
    50: '#a56163',
    500: '#781e2a',
    950: '#000000',
  },
}
SCSS
$custom: #781e2a;
$custom-light: #a56163;
$custom-dark: #000000;
JSON
{
  "hex": "#781e2a",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 352,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38596,
    "c": 0.1234,
    "h": 17.9
  },
  "luminance": 0.05089
}

Semantic roles & 50–950 ramp

primary
#781E2A
secondary
#46AC9E
accent
#E3CE45
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100505
muted
#7F7A79

Preview Lab

Preview with #781E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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