#781F24#781F24

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

Color values

HEX#781F24
RGBrgb(120, 31, 36)
HSLhsl(357, 59%, 30%)
HSVhsv(357, 74%, 47%)
CMYKcmyk(0%, 74.2%, 70%, 52.9%)
CIE-LABlab(27.02, 38.64, 19.68)
CIE-LCHlch(27.02, 43.36, 26.99°)
OKLaboklab(38.58% 0.1137 0.0462)
OKLCHoklch(38.58% 0.123 22.1)
XYZxyz(8.5551, 5.1017, 2.2030)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F24 #1F7873
analogous
#781F51 #781F24 #78471F
triadic
#781F24 #24781F #1F2478
tetradic
#781F24 #51781F #1F7873 #471F78
square
#781F24 #51781F #1F7873 #471F78
split-complementary
#781F24 #1F7847 #1F5178
monochromatic
#180607 #471215 #781F24 #A92C33 #CE434B

Accessibility & contrast

On white

10.40
#781F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F24
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F24#FFFFFF#000000##FFFFFF
##781F241.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383423
Deuteranopia (green-blind)
#4E4721
Tritanopia (blue-blind)
#840222
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f24;
/* rgb */ color: rgb(120, 31, 36);
/* oklch */ color: oklch(38.6% 0.123 22.1);
Tailwind
colors: {
  custom: {
    50: '#a5625e',
    500: '#781f24',
    950: '#000000',
  },
}
SCSS
$custom: #781f24;
$custom-light: #a5625e;
$custom-dark: #000000;
JSON
{
  "hex": "#781f24",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 36
  },
  "hsl": {
    "h": 356.629,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38584,
    "c": 0.12268,
    "h": 22.1
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#781F24
secondary
#47ABA6
accent
#E2D946
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100504
muted
#7F7A79

Preview Lab

Preview with #781F24

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

Preview Lab → · Contrast checker → · Palette generator →

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