#781B2A#781B2A

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

Color values

HEX#781B2A
RGBrgb(120, 27, 42)
HSLhsl(350, 63%, 29%)
HSVhsv(350, 78%, 47%)
CMYKcmyk(0%, 77.5%, 65%, 52.9%)
CIE-LABlab(26.58, 40.56, 15.13)
CIE-LCHlch(26.58, 43.29, 20.46°)
OKLaboklab(38.29% 0.1211 0.0366)
OKLCHoklch(38.29% 0.127 16.8)
XYZxyz(8.5565, 4.9454, 2.6940)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B2A #1B7869
analogous
#781B59 #781B2A #783B1B
triadic
#781B2A #2A781B #1B2A78
tetradic
#781B2A #59781B #1B7869 #3B1B78
square
#781B2A #59781B #1B7869 #3B1B78
split-complementary
#781B2A #1B783B #1B5978
monochromatic
#190609 #461019 #781B2A #AA263B #D33B53

Accessibility & contrast

On white

10.56
#781B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#781B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B2A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B2A#FFFFFF#000000##FFFFFF
##781B2A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35322A
Deuteranopia (green-blind)
#4C4627
Tritanopia (blue-blind)
#840021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781b2a;
/* rgb */ color: rgb(120, 27, 42);
/* oklch */ color: oklch(38.3% 0.127 16.8);
Tailwind
colors: {
  custom: {
    50: '#a56063',
    500: '#781b2a',
    950: '#000000',
  },
}
SCSS
$custom: #781b2a;
$custom-light: #a56063;
$custom-dark: #000000;
JSON
{
  "hex": "#781b2a",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 350.323,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3829,
    "c": 0.12653,
    "h": 16.8
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#781B2A
secondary
#43AC9B
accent
#E6CC41
background
#FAF5F5
surface
#F4EAEA
border
#CEC6C6
text
#100505
muted
#7F7979

Preview Lab

Preview with #781B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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