#781B1B#781B1B

#781B1B is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.0% C 0.128 H 25.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#781B1B
RGBrgb(120, 27, 27)
HSLhsl(0, 63%, 29%)
HSVhsv(0, 78%, 47%)
CMYKcmyk(0%, 77.5%, 77.5%, 52.9%)
CIE-LABlab(26.32, 39.72, 24.66)
CIE-LCHlch(26.32, 46.75, 31.83°)
OKLaboklab(38.02% 0.115 0.0554)
OKLCHoklch(38.02% 0.128 25.7)
XYZxyz(8.3365, 4.8574, 1.5353)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B1B #1B7878
analogous
#781B4A #781B1B #784A1B
triadic
#781B1B #1B781B #1B1B78
tetradic
#781B1B #4A781B #1B7878 #4A1B78
square
#781B1B #4A781B #1B7878 #4A1B78
split-complementary
#781B1B #1B784A #1B4A78
monochromatic
#190606 #461010 #781B1B #AA2626 #D33B3B

Accessibility & contrast

On white

10.65
#781B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B1B
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B1B#FFFFFF#000000##FFFFFF
##781B1B1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37311A
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#85001C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781b1b;
/* rgb */ color: rgb(120, 27, 27);
/* oklch */ color: oklch(38.0% 0.128 25.7);
Tailwind
colors: {
  custom: {
    50: '#a66057',
    500: '#781b1b',
    950: '#000000',
  },
}
SCSS
$custom: #781b1b;
$custom-light: #a66057;
$custom-dark: #000000;
JSON
{
  "hex": "#781b1b",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 27
  },
  "hsl": {
    "h": 0,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3802,
    "c": 0.12762,
    "h": 25.7
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#781B1B
secondary
#43ACAC
accent
#E6E641
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110503
muted
#807978

Preview Lab

Preview with #781B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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