#781C23#781C23

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

Color values

HEX#781C23
RGBrgb(120, 28, 35)
HSLhsl(355, 62%, 29%)
HSVhsv(355, 77%, 47%)
CMYKcmyk(0%, 76.7%, 70.8%, 52.9%)
CIE-LABlab(26.58, 39.75, 19.79)
CIE-LCHlch(26.58, 44.41, 26.47°)
OKLaboklab(38.25% 0.117 0.0463)
OKLCHoklch(38.25% 0.126 21.6)
XYZxyz(8.4653, 4.9462, 2.0988)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C23 #1C7871
analogous
#781C51 #781C23 #78431C
triadic
#781C23 #23781C #1C2378
tetradic
#781C23 #51781C #1C7871 #431C78
square
#781C23 #51781C #1C7871 #431C78
split-complementary
#781C23 #1C7843 #1C5178
monochromatic
#190607 #461015 #781C23 #AA2831 #D23D48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##781C23#FFFFFF#000000##FFFFFF
##781C231.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)
#363222
Deuteranopia (green-blind)
#4D4620
Tritanopia (blue-blind)
#84001F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781c23;
/* rgb */ color: rgb(120, 28, 35);
/* oklch */ color: oklch(38.3% 0.126 21.6);
Tailwind
colors: {
  custom: {
    50: '#a6605d',
    500: '#781c23',
    950: '#000000',
  },
}
SCSS
$custom: #781c23;
$custom-light: #a6605d;
$custom-dark: #000000;
JSON
{
  "hex": "#781c23",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 35
  },
  "hsl": {
    "h": 355.435,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3825,
    "c": 0.1258,
    "h": 21.6
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#781C23
secondary
#44ACA4
accent
#E5D943
background
#FAF5F5
surface
#F5EAE9
border
#CFC6C5
text
#110504
muted
#807979

Preview Lab

Preview with #781C23

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

Preview Lab → · Contrast checker → · Palette generator →

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