#781B1E#781B1E

#781B1E is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.1% C 0.127 H 24.1°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#781B1E
RGBrgb(120, 27, 30)
HSLhsl(358, 63%, 29%)
HSVhsv(358, 78%, 47%)
CMYKcmyk(0%, 77.5%, 75%, 52.9%)
CIE-LABlab(26.37, 39.86, 22.79)
CIE-LCHlch(26.37, 45.92, 29.76°)
OKLaboklab(38.07% 0.1162 0.052)
OKLCHoklch(38.07% 0.127 24.1)
XYZxyz(8.3730, 4.8720, 1.7275)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B1E #1B7875
analogous
#781B4D #781B1E #78471B
triadic
#781B1E #1E781B #1B1E78
tetradic
#781B1E #4D781B #1B7875 #471B78
square
#781B1E #4D781B #1B7875 #471B78
split-complementary
#781B1E #1B7847 #1B4D78
monochromatic
#190606 #461012 #781B1E #AA262A #D33B40

Accessibility & contrast

On white

10.64
#781B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#781B1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B1E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B1E#FFFFFF#000000##FFFFFF
##781B1E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36321D
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#85001D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781b1e;
/* rgb */ color: rgb(120, 27, 30);
/* oklch */ color: oklch(38.1% 0.127 24.1);
Tailwind
colors: {
  custom: {
    50: '#a6605a',
    500: '#781b1e',
    950: '#000000',
  },
}
SCSS
$custom: #781b1e;
$custom-light: #a6605a;
$custom-dark: #000000;
JSON
{
  "hex": "#781b1e",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 30
  },
  "hsl": {
    "h": 358.065,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38065,
    "c": 0.12725,
    "h": 24.1
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#781B1E
secondary
#43ACA9
accent
#E6E141
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #781B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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