#781928#781928

#781928 is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.1% C 0.129 H 17.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#781928
RGBrgb(120, 25, 40)
HSLhsl(351, 66%, 28%)
HSVhsv(351, 79%, 47%)
CMYKcmyk(0%, 79.2%, 66.7%, 52.9%)
CIE-LABlab(26.28, 41.15, 16.09)
CIE-LCHlch(26.28, 44.18, 21.36°)
OKLaboklab(38.06% 0.1226 0.0386)
OKLCHoklch(38.06% 0.129 17.5)
XYZxyz(8.4773, 4.8428, 2.4955)
Luminance0.0484 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781928 #197869
analogous
#781957 #781928 #783919
triadic
#781928 #287819 #192878
tetradic
#781928 #577819 #197869 #391978
square
#781928 #577819 #197869 #391978
split-complementary
#781928 #197839 #195778
monochromatic
#190508 #450E17 #781928 #AB2439 #D5364F

Accessibility & contrast

On white

10.67
#781928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#781928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781928
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781928#FFFFFF#000000##FFFFFF
##7819281.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781928;
/* rgb */ color: rgb(120, 25, 40);
/* oklch */ color: oklch(38.1% 0.129 17.5);
Tailwind
colors: {
  custom: {
    50: '#a55f61',
    500: '#781928',
    950: '#000000',
  },
}
SCSS
$custom: #781928;
$custom-light: #a55f61;
$custom-dark: #000000;
JSON
{
  "hex": "#781928",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 40
  },
  "hsl": {
    "h": 350.526,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38057,
    "c": 0.1285,
    "h": 17.5
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#781928
secondary
#40AD9C
accent
#E8CE3F
background
#FAF5F5
surface
#F4EAE9
border
#CEC6C5
text
#100505
muted
#7F7979

Preview Lab

Preview with #781928

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

Preview Lab → · Contrast checker → · Palette generator →

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