#781E2B#781E2B

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

Color values

HEX#781E2B
RGBrgb(120, 30, 43)
HSLhsl(351, 60%, 29%)
HSVhsv(351, 75%, 47%)
CMYKcmyk(0%, 75%, 64.2%, 52.9%)
CIE-LABlab(27.01, 39.49, 15.03)
CIE-LCHlch(27.01, 42.25, 20.83°)
OKLaboklab(38.62% 0.1179 0.0365)
OKLCHoklch(38.62% 0.123 17.2)
XYZxyz(8.6469, 5.0973, 2.8136)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E2B #1E786B
analogous
#781E58 #781E2B #783E1E
triadic
#781E2B #2B781E #1E2B78
tetradic
#781E2B #58781E #1E786B #3E1E78
square
#781E2B #58781E #1E786B #3E1E78
split-complementary
#781E2B #1E783E #1E5878
monochromatic
#180609 #471219 #781E2B #A92A3D #CF4156

Accessibility & contrast

On white

10.40
#781E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781E2B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E2B#FFFFFF#000000##FFFFFF
##781E2B1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781e2b;
/* rgb */ color: rgb(120, 30, 43);
/* oklch */ color: oklch(38.6% 0.123 17.2);
Tailwind
colors: {
  custom: {
    50: '#a56164',
    500: '#781e2b',
    950: '#000000',
  },
}
SCSS
$custom: #781e2b;
$custom-light: #a56164;
$custom-dark: #000000;
JSON
{
  "hex": "#781e2b",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 351.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38618,
    "c": 0.12339,
    "h": 17.2
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#781E2B
secondary
#46AC9D
accent
#E3CC45
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100505
muted
#7F7A79

Preview Lab

Preview with #781E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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