#781A27#781A27

#781A27 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.1% C 0.128 H 18.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#781A27
RGBrgb(120, 26, 39)
HSLhsl(352, 64%, 29%)
HSVhsv(352, 78%, 47%)
CMYKcmyk(0%, 78.3%, 67.5%, 52.9%)
CIE-LABlab(26.39, 40.73, 16.90)
CIE-LCHlch(26.39, 44.09, 22.53°)
OKLaboklab(38.13% 0.121 0.0403)
OKLCHoklch(38.13% 0.128 18.4)
XYZxyz(8.4822, 4.8796, 2.4143)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A27 #1A786B
analogous
#781A56 #781A27 #783C1A
triadic
#781A27 #27781A #1A2778
tetradic
#781A27 #56781A #1A786B #3C1A78
square
#781A27 #56781A #1A786B #3C1A78
split-complementary
#781A27 #1A783C #1A5678
monochromatic
#190508 #460F17 #781A27 #AA2537 #D4384E

Accessibility & contrast

On white

10.63
#781A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#781A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A27
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A27#FFFFFF#000000##FFFFFF
##781A271.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#840020
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781a27;
/* rgb */ color: rgb(120, 26, 39);
/* oklch */ color: oklch(38.1% 0.128 18.4);
Tailwind
colors: {
  custom: {
    50: '#a55f60',
    500: '#781a27',
    950: '#000000',
  },
}
SCSS
$custom: #781a27;
$custom-light: #a55f60;
$custom-dark: #000000;
JSON
{
  "hex": "#781a27",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 39
  },
  "hsl": {
    "h": 351.702,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3813,
    "c": 0.12754,
    "h": 18.4
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#781A27
secondary
#41AC9E
accent
#E7D040
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#100505
muted
#7F7979

Preview Lab

Preview with #781A27

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

Preview Lab → · Contrast checker → · Palette generator →

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