#781F20#781F20

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

Color values

HEX#781F20
RGBrgb(120, 31, 32)
HSLhsl(359, 59%, 30%)
HSVhsv(359, 74%, 47%)
CMYKcmyk(0%, 74.2%, 73.3%, 52.9%)
CIE-LABlab(26.96, 38.41, 22.20)
CIE-LCHlch(26.96, 44.36, 30.02°)
OKLaboklab(38.52% 0.112 0.0511)
OKLCHoklch(38.52% 0.123 24.5)
XYZxyz(8.4974, 5.0786, 1.8991)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F20 #1F7877
analogous
#781F4D #781F20 #784B1F
triadic
#781F20 #20781F #1F2078
tetradic
#781F20 #4D781F #1F7877 #4B1F78
square
#781F20 #4D781F #1F7877 #4B1F78
split-complementary
#781F20 #1F784B #1F4D78
monochromatic
#180606 #471213 #781F20 #A92C2D #CE4345

Accessibility & contrast

On white

10.42
#781F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#781F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F20
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F20#FFFFFF#000000##FFFFFF
##781F201.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331F
Deuteranopia (green-blind)
#4F471D
Tritanopia (blue-blind)
#840120
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f20;
/* rgb */ color: rgb(120, 31, 32);
/* oklch */ color: oklch(38.5% 0.123 24.5);
Tailwind
colors: {
  custom: {
    50: '#a6625b',
    500: '#781f20',
    950: '#000000',
  },
}
SCSS
$custom: #781f20;
$custom-light: #a6625b;
$custom-dark: #000000;
JSON
{
  "hex": "#781f20",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.326,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38515,
    "c": 0.12312,
    "h": 24.5
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#781F20
secondary
#47ABAA
accent
#E2E046
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #781F20

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

Preview Lab → · Contrast checker → · Palette generator →

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