#781827#781827

#781827 is a dark, vivid red. Relative luminance 0.048; OKLCH L 37.9% C 0.129 H 17.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#781827
RGBrgb(120, 24, 39)
HSLhsl(351, 67%, 28%)
HSVhsv(351, 80%, 47%)
CMYKcmyk(0%, 80%, 67.5%, 52.9%)
CIE-LABlab(26.14, 41.43, 16.58)
CIE-LCHlch(26.14, 44.62, 21.81°)
OKLaboklab(37.95% 0.1232 0.0396)
OKLCHoklch(37.95% 0.129 17.8)
XYZxyz(8.4395, 4.7941, 2.4000)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781827 #187869
analogous
#781857 #781827 #783918
triadic
#781827 #277818 #182778
tetradic
#781827 #577818 #187869 #391878
square
#781827 #577818 #187869 #391878
split-complementary
#781827 #187839 #185778
monochromatic
#1A0508 #450E16 #781827 #AB2238 #D6344D

Accessibility & contrast

On white

10.72
#781827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#781827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781827
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781827#FFFFFF#000000##FFFFFF
##7818271.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343127
Deuteranopia (green-blind)
#4C4524
Tritanopia (blue-blind)
#84001F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781827;
/* rgb */ color: rgb(120, 24, 39);
/* oklch */ color: oklch(37.9% 0.129 17.8);
Tailwind
colors: {
  custom: {
    50: '#a65f60',
    500: '#781827',
    950: '#000000',
  },
}
SCSS
$custom: #781827;
$custom-light: #a65f60;
$custom-dark: #000000;
JSON
{
  "hex": "#781827",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 350.625,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37946,
    "c": 0.12945,
    "h": 17.8
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#781827
secondary
#3FAD9C
accent
#EACF3E
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#110505
muted
#807979

Preview Lab

Preview with #781827

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

Preview Lab → · Contrast checker → · Palette generator →

#781827 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva