#781F26#781F26

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

Color values

HEX#781F26
RGBrgb(120, 31, 38)
HSLhsl(355, 59%, 30%)
HSVhsv(355, 74%, 47%)
CMYKcmyk(0%, 74.2%, 68.3%, 52.9%)
CIE-LABlab(27.06, 38.76, 18.41)
CIE-LCHlch(27.06, 42.91, 25.41°)
OKLaboklab(38.62% 0.1145 0.0436)
OKLCHoklch(38.62% 0.123 20.9)
XYZxyz(8.5865, 5.1142, 2.3684)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F26 #1F7871
analogous
#781F53 #781F26 #78451F
triadic
#781F26 #26781F #1F2678
tetradic
#781F26 #53781F #1F7871 #451F78
square
#781F26 #53781F #1F7871 #451F78
split-complementary
#781F26 #1F7845 #1F5378
monochromatic
#180608 #471217 #781F26 #A92C35 #CE434E

Accessibility & contrast

On white

10.38
#781F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#781F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F26
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F26#FFFFFF#000000##FFFFFF
##781F261.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383426
Deuteranopia (green-blind)
#4E4723
Tritanopia (blue-blind)
#840322
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781f26;
/* rgb */ color: rgb(120, 31, 38);
/* oklch */ color: oklch(38.6% 0.123 20.9);
Tailwind
colors: {
  custom: {
    50: '#a56260',
    500: '#781f26',
    950: '#000000',
  },
}
SCSS
$custom: #781f26;
$custom-light: #a56260;
$custom-dark: #000000;
JSON
{
  "hex": "#781f26",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 355.281,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38622,
    "c": 0.12251,
    "h": 20.9
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#781F26
secondary
#47ABA4
accent
#E2D646
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100504
muted
#7F7A79

Preview Lab

Preview with #781F26

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

Preview Lab → · Contrast checker → · Palette generator →

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