#781C1F#781C1F

#781C1F is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.2% C 0.126 H 23.9°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#781C1F
RGBrgb(120, 28, 31)
HSLhsl(358, 62%, 29%)
HSVhsv(358, 77%, 47%)
CMYKcmyk(0%, 76.7%, 74.2%, 52.9%)
CIE-LABlab(26.52, 39.54, 22.32)
CIE-LCHlch(26.52, 45.40, 29.45°)
OKLaboklab(38.18% 0.1154 0.0512)
OKLCHoklch(38.18% 0.126 23.9)
XYZxyz(8.4093, 4.9238, 1.8037)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C1F #1C7875
analogous
#781C4D #781C1F #78471C
triadic
#781C1F #1F781C #1C1F78
tetradic
#781C1F #4D781C #1C7875 #471C78
square
#781C1F #4D781C #1C7875 #471C78
split-complementary
#781C1F #1C7847 #1C4D78
monochromatic
#190606 #461012 #781C1F #AA282C #D23D42

Accessibility & contrast

On white

10.58
#781C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#781C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C1F
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C1F#FFFFFF#000000##FFFFFF
##781C1F1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321E
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#84001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781c1f;
/* rgb */ color: rgb(120, 28, 31);
/* oklch */ color: oklch(38.2% 0.126 23.9);
Tailwind
colors: {
  custom: {
    50: '#a6605a',
    500: '#781c1f',
    950: '#000000',
  },
}
SCSS
$custom: #781c1f;
$custom-light: #a6605a;
$custom-dark: #000000;
JSON
{
  "hex": "#781c1f",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 31
  },
  "hsl": {
    "h": 358.043,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.12619,
    "h": 23.9
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#781C1F
secondary
#44ACA9
accent
#E5E043
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #781C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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