#781726#781726

#781726 is a dark, vivid red. Relative luminance 0.047; OKLCH L 37.8% C 0.130 H 18.1°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#781726
RGBrgb(120, 23, 38)
HSLhsl(351, 68%, 28%)
HSVhsv(351, 81%, 47%)
CMYKcmyk(0%, 80.8%, 68.3%, 52.9%)
CIE-LABlab(26.00, 41.70, 17.07)
CIE-LCHlch(26.00, 45.06, 22.27°)
OKLaboklab(37.84% 0.1239 0.0406)
OKLCHoklch(37.84% 0.13 18.1)
XYZxyz(8.4029, 4.7471, 2.3072)
Luminance0.0475 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781726 #177869
analogous
#781756 #781726 #783917
triadic
#781726 #267817 #172678
tetradic
#781726 #567817 #177869 #391778
square
#781726 #567817 #177869 #391778
split-complementary
#781726 #177839 #175678
monochromatic
#1A0508 #450D16 #781726 #AB2136 #D8324B

Accessibility & contrast

On white

10.77
#781726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#781726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781726
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781726#FFFFFF#000000##FFFFFF
##7817261.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333126
Deuteranopia (green-blind)
#4C4523
Tritanopia (blue-blind)
#84001E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781726;
/* rgb */ color: rgb(120, 23, 38);
/* oklch */ color: oklch(37.8% 0.130 18.1);
Tailwind
colors: {
  custom: {
    50: '#a65e60',
    500: '#781726',
    950: '#000000',
  },
}
SCSS
$custom: #781726;
$custom-light: #a65e60;
$custom-dark: #000000;
JSON
{
  "hex": "#781726",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 38
  },
  "hsl": {
    "h": 350.722,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37837,
    "c": 0.13038,
    "h": 18.1
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#781726
secondary
#3EAD9C
accent
#EBD03D
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#110504
muted
#807979

Preview Lab

Preview with #781726

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

Preview Lab → · Contrast checker → · Palette generator →

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