#781D27#781D27

#781D27 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.4% C 0.125 H 19.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#781D27
RGBrgb(120, 29, 39)
HSLhsl(353, 61%, 29%)
HSVhsv(353, 76%, 47%)
CMYKcmyk(0%, 75.8%, 67.5%, 52.9%)
CIE-LABlab(26.79, 39.61, 17.41)
CIE-LCHlch(26.79, 43.27, 23.72°)
OKLaboklab(38.43% 0.1174 0.0415)
OKLCHoklch(38.43% 0.125 19.5)
XYZxyz(8.5522, 5.0195, 2.4376)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D27 #1D786E
analogous
#781D55 #781D27 #78411D
triadic
#781D27 #27781D #1D2778
tetradic
#781D27 #55781D #1D786E #411D78
square
#781D27 #55781D #1D786E #411D78
split-complementary
#781D27 #1D7841 #1D5578
monochromatic
#190608 #471117 #781D27 #A92937 #D13F4F

Accessibility & contrast

On white

10.48
#781D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#781D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D27
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D27#FFFFFF#000000##FFFFFF
##781D271.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.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: #781d27;
/* rgb */ color: rgb(120, 29, 39);
/* oklch */ color: oklch(38.4% 0.125 19.5);
Tailwind
colors: {
  custom: {
    50: '#a56161',
    500: '#781d27',
    950: '#000000',
  },
}
SCSS
$custom: #781d27;
$custom-light: #a56161;
$custom-dark: #000000;
JSON
{
  "hex": "#781d27",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 39
  },
  "hsl": {
    "h": 353.407,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.12454,
    "h": 19.5
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#781D27
secondary
#45ACA1
accent
#E4D344
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100505
muted
#7F7A79

Preview Lab

Preview with #781D27

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

Preview Lab → · Contrast checker → · Palette generator →

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