#781B2D#781B2D

#781B2D is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.127 H 14.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#781B2D
RGBrgb(120, 27, 45)
HSLhsl(348, 63%, 29%)
HSVhsv(348, 78%, 47%)
CMYKcmyk(0%, 77.5%, 62.5%, 52.9%)
CIE-LABlab(26.64, 40.77, 13.20)
CIE-LCHlch(26.64, 42.86, 17.94°)
OKLaboklab(38.36% 0.1224 0.0324)
OKLCHoklch(38.36% 0.127 14.8)
XYZxyz(8.6122, 4.9676, 2.9875)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B2D #1B7866
analogous
#781B5C #781B2D #78381B
triadic
#781B2D #2D781B #1B2D78
tetradic
#781B2D #5C781B #1B7866 #381B78
square
#781B2D #5C781B #1B7866 #381B78
split-complementary
#781B2D #1B7838 #1B5C78
monochromatic
#190609 #46101A #781B2D #AA2640 #D33B58

Accessibility & contrast

On white

10.54
#781B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781B2D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B2D#FFFFFF#000000##FFFFFF
##781B2D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34332D
Deuteranopia (green-blind)
#4C462B
Tritanopia (blue-blind)
#840023
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781b2d;
/* rgb */ color: rgb(120, 27, 45);
/* oklch */ color: oklch(38.4% 0.127 14.8);
Tailwind
colors: {
  custom: {
    50: '#a56065',
    500: '#781b2d',
    950: '#000000',
  },
}
SCSS
$custom: #781b2d;
$custom-light: #a56065;
$custom-dark: #000000;
JSON
{
  "hex": "#781b2d",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 348.387,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38358,
    "c": 0.12661,
    "h": 14.8
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#781B2D
secondary
#43AC98
accent
#E6C641
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100505
muted
#7F797A

Preview Lab

Preview with #781B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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