#781E31#781E31

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

Color values

HEX#781E31
RGBrgb(120, 30, 49)
HSLhsl(347, 60%, 29%)
HSVhsv(347, 75%, 47%)
CMYKcmyk(0%, 75%, 59.2%, 52.9%)
CIE-LABlab(27.14, 39.94, 11.18)
CIE-LCHlch(27.14, 41.47, 15.64°)
OKLaboklab(38.76% 0.1205 0.0279)
OKLCHoklch(38.76% 0.124 13)
XYZxyz(8.7652, 5.1446, 3.4366)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E31 #1E7865
analogous
#781E5E #781E31 #78381E
triadic
#781E31 #31781E #1E3178
tetradic
#781E31 #5E781E #1E7865 #381E78
square
#781E31 #5E781E #1E7865 #381E78
split-complementary
#781E31 #1E7838 #1E5E78
monochromatic
#18060A #47121D #781E31 #A92A45 #CF415F

Accessibility & contrast

On white

10.35
#781E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#781E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E31
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E31#FFFFFF#000000##FFFFFF
##781E311.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353431
Deuteranopia (green-blind)
#4C472F
Tritanopia (blue-blind)
#840626
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781e31;
/* rgb */ color: rgb(120, 30, 49);
/* oklch */ color: oklch(38.8% 0.124 13.0);
Tailwind
colors: {
  custom: {
    50: '#a46268',
    500: '#781e31',
    950: '#000000',
  },
}
SCSS
$custom: #781e31;
$custom-light: #a46268;
$custom-dark: #000000;
JSON
{
  "hex": "#781e31",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 49
  },
  "hsl": {
    "h": 347.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38759,
    "c": 0.12363,
    "h": 13
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#781E31
secondary
#46AC96
accent
#E3C245
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100506
muted
#7F7A7A

Preview Lab

Preview with #781E31

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

Preview Lab → · Contrast checker → · Palette generator →

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