#781F2B#781F2B

#781F2B is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.7% C 0.122 H 17.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#781F2B
RGBrgb(120, 31, 43)
HSLhsl(352, 59%, 30%)
HSVhsv(352, 74%, 47%)
CMYKcmyk(0%, 74.2%, 64.2%, 52.9%)
CIE-LABlab(27.15, 39.09, 15.22)
CIE-LCHlch(27.15, 41.95, 21.27°)
OKLaboklab(38.73% 0.1166 0.0369)
OKLCHoklch(38.73% 0.122 17.6)
XYZxyz(8.6726, 5.1487, 2.8222)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F2B #1F786C
analogous
#781F58 #781F2B #78401F
triadic
#781F2B #2B781F #1F2B78
tetradic
#781F2B #58781F #1F786C #401F78
square
#781F2B #58781F #1F786C #401F78
split-complementary
#781F2B #1F7840 #1F5878
monochromatic
#180609 #47121A #781F2B #A92C3C #CE4356

Accessibility & contrast

On white

10.35
#781F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#781F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F2B
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F2B#FFFFFF#000000##FFFFFF
##781F2B1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37342B
Deuteranopia (green-blind)
#4E4729
Tritanopia (blue-blind)
#840524
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f2b;
/* rgb */ color: rgb(120, 31, 43);
/* oklch */ color: oklch(38.7% 0.122 17.6);
Tailwind
colors: {
  custom: {
    50: '#a56264',
    500: '#781f2b',
    950: '#000000',
  },
}
SCSS
$custom: #781f2b;
$custom-light: #a56264;
$custom-dark: #000000;
JSON
{
  "hex": "#781f2b",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 351.91,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38725,
    "c": 0.12231,
    "h": 17.6
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#781F2B
secondary
#47AB9E
accent
#E2CD46
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100505
muted
#7F7A79

Preview Lab

Preview with #781F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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