#781728#781728

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

Color values

HEX#781728
RGBrgb(120, 23, 40)
HSLhsl(349, 68%, 28%)
HSVhsv(349, 81%, 47%)
CMYKcmyk(0%, 80.8%, 66.7%, 52.9%)
CIE-LABlab(26.04, 41.82, 15.78)
CIE-LCHlch(26.04, 44.70, 20.67°)
OKLaboklab(37.88% 0.1247 0.0379)
OKLCHoklch(37.88% 0.13 16.9)
XYZxyz(8.4360, 4.7603, 2.4817)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781728 #177867
analogous
#781758 #781728 #783717
triadic
#781728 #287817 #172878
tetradic
#781728 #587817 #177867 #371778
square
#781728 #587817 #177867 #371778
split-complementary
#781728 #177837 #175878
monochromatic
#1A0509 #450D17 #781728 #AB2139 #D8324F

Accessibility & contrast

On white

10.76
#781728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781728
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781728#FFFFFF#000000##FFFFFF
##7817281.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781728;
/* rgb */ color: rgb(120, 23, 40);
/* oklch */ color: oklch(37.9% 0.130 16.9);
Tailwind
colors: {
  custom: {
    50: '#a55e61',
    500: '#781728',
    950: '#000000',
  },
}
SCSS
$custom: #781728;
$custom-light: #a55e61;
$custom-dark: #000000;
JSON
{
  "hex": "#781728",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 349.485,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37879,
    "c": 0.13037,
    "h": 16.9
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#781728
secondary
#3EAD9A
accent
#EBCC3D
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#110505
muted
#807979

Preview Lab

Preview with #781728

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

Preview Lab → · Contrast checker → · Palette generator →

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