#781A31#781A31

#781A31 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.128 H 11.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#781A31
RGBrgb(120, 26, 49)
HSLhsl(345, 64%, 29%)
HSVhsv(345, 78%, 47%)
CMYKcmyk(0%, 78.3%, 59.2%, 52.9%)
CIE-LABlab(26.61, 41.43, 10.45)
CIE-LCHlch(26.61, 42.73, 14.15°)
OKLaboklab(38.36% 0.1253 0.0261)
OKLCHoklch(38.36% 0.128 11.8)
XYZxyz(8.6703, 4.9549, 3.4050)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A31 #1A7861
analogous
#781A60 #781A31 #78321A
triadic
#781A31 #31781A #1A3178
tetradic
#781A31 #60781A #1A7861 #321A78
square
#781A31 #60781A #1A7861 #321A78
split-complementary
#781A31 #1A7832 #1A6078
monochromatic
#19050A #460F1C #781A31 #AA2546 #D4385E

Accessibility & contrast

On white

10.55
#781A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#781A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A31
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A31#FFFFFF#000000##FFFFFF
##781A311.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333331
Deuteranopia (green-blind)
#4B462F
Tritanopia (blue-blind)
#840024
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781a31;
/* rgb */ color: rgb(120, 26, 49);
/* oklch */ color: oklch(38.4% 0.128 11.8);
Tailwind
colors: {
  custom: {
    50: '#a56068',
    500: '#781a31',
    950: '#000000',
  },
}
SCSS
$custom: #781a31;
$custom-light: #a56068;
$custom-dark: #000000;
JSON
{
  "hex": "#781a31",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 49
  },
  "hsl": {
    "h": 345.319,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38361,
    "c": 0.12795,
    "h": 11.8
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#781A31
secondary
#41AC92
accent
#E7BF40
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #781A31

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

Preview Lab → · Contrast checker → · Palette generator →

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