#781F1D#781F1D

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

Color values

HEX#781F1D
RGBrgb(120, 31, 29)
HSLhsl(1, 61%, 29%)
HSVhsv(1, 76%, 47%)
CMYKcmyk(0%, 74.2%, 75.8%, 52.9%)
CIE-LABlab(26.91, 38.26, 24.06)
CIE-LCHlch(26.91, 45.20, 32.17°)
OKLaboklab(38.47% 0.1108 0.0545)
OKLCHoklch(38.47% 0.124 26.2)
XYZxyz(8.4584, 5.0630, 1.6940)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F1D #1D7678
analogous
#781D49 #781F1D #784D1D
triadic
#781F1D #1D781F #1F1D78
tetradic
#781F1D #49781D #1D7678 #4D1D78
square
#781F1D #49781D #1D7678 #4D1D78
split-complementary
#781F1D #1D784D #1D4978
monochromatic
#190606 #471211 #781F1D #A92C29 #D1423F

Accessibility & contrast

On white

10.44
#781F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#781F1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F1D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F1D#FFFFFF#000000##FFFFFF
##781F1D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39331C
Deuteranopia (green-blind)
#4F471A
Tritanopia (blue-blind)
#840020
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f1d;
/* rgb */ color: rgb(120, 31, 29);
/* oklch */ color: oklch(38.5% 0.124 26.2);
Tailwind
colors: {
  custom: {
    50: '#a66159',
    500: '#781f1d',
    950: '#000000',
  },
}
SCSS
$custom: #781f1d;
$custom-light: #a66159;
$custom-dark: #000000;
JSON
{
  "hex": "#781f1d",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 1.319,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38468,
    "c": 0.12353,
    "h": 26.2
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#781F1D
secondary
#45AAAC
accent
#E1E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110503
muted
#807A78

Preview Lab

Preview with #781F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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