#781C27#781C27

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

Color values

HEX#781C27
RGBrgb(120, 28, 39)
HSLhsl(353, 62%, 29%)
HSVhsv(353, 77%, 47%)
CMYKcmyk(0%, 76.7%, 67.5%, 52.9%)
CIE-LABlab(26.65, 39.99, 17.23)
CIE-LCHlch(26.65, 43.55, 23.31°)
OKLaboklab(38.33% 0.1187 0.0411)
OKLCHoklch(38.33% 0.126 19.1)
XYZxyz(8.5281, 4.9713, 2.4296)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C27 #1C786D
analogous
#781C55 #781C27 #783F1C
triadic
#781C27 #27781C #1C2778
tetradic
#781C27 #55781C #1C786D #3F1C78
square
#781C27 #55781C #1C786D #3F1C78
split-complementary
#781C27 #1C783F #1C5578
monochromatic
#190608 #461017 #781C27 #AA2837 #D23D4F

Accessibility & contrast

On white

10.53
#781C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781C27
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C27#FFFFFF#000000##FFFFFF
##781C271.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363327
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#840021
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781c27;
/* rgb */ color: rgb(120, 28, 39);
/* oklch */ color: oklch(38.3% 0.126 19.1);
Tailwind
colors: {
  custom: {
    50: '#a56061',
    500: '#781c27',
    950: '#000000',
  },
}
SCSS
$custom: #781c27;
$custom-light: #a56061;
$custom-dark: #000000;
JSON
{
  "hex": "#781c27",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 39
  },
  "hsl": {
    "h": 352.826,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38326,
    "c": 0.12556,
    "h": 19.1
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#781C27
secondary
#44ACA0
accent
#E5D243
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#100505
muted
#7F7979

Preview Lab

Preview with #781C27

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

Preview Lab → · Contrast checker → · Palette generator →

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