#781E27#781E27

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

Color values

HEX#781E27
RGBrgb(120, 30, 39)
HSLhsl(354, 60%, 29%)
HSVhsv(354, 75%, 47%)
CMYKcmyk(0%, 75%, 67.5%, 52.9%)
CIE-LABlab(26.93, 39.22, 17.59)
CIE-LCHlch(26.93, 42.98, 24.15°)
OKLaboklab(38.53% 0.1162 0.0419)
OKLCHoklch(38.53% 0.124 19.8)
XYZxyz(8.5771, 5.0694, 2.4459)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E27 #1E786F
analogous
#781E54 #781E27 #78421E
triadic
#781E27 #27781E #1E2778
tetradic
#781E27 #54781E #1E786F #421E78
square
#781E27 #54781E #1E786F #421E78
split-complementary
#781E27 #1E7842 #1E5478
monochromatic
#180608 #471217 #781E27 #A92A37 #CF414F

Accessibility & contrast

On white

10.43
#781E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#781E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E27
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E27#FFFFFF#000000##FFFFFF
##781E271.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373427
Deuteranopia (green-blind)
#4E4724
Tritanopia (blue-blind)
#840122
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781e27;
/* rgb */ color: rgb(120, 30, 39);
/* oklch */ color: oklch(38.5% 0.123 19.8);
Tailwind
colors: {
  custom: {
    50: '#a56161',
    500: '#781e27',
    950: '#000000',
  },
}
SCSS
$custom: #781e27;
$custom-light: #a56161;
$custom-dark: #000000;
JSON
{
  "hex": "#781e27",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 354,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38534,
    "c": 0.1235,
    "h": 19.8
  },
  "luminance": 0.05068
}

Semantic roles & 50–950 ramp

primary
#781E27
secondary
#46ACA2
accent
#E3D345
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100505
muted
#7F7A79

Preview Lab

Preview with #781E27

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

Preview Lab → · Contrast checker → · Palette generator →

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