#782128#782128

#782128 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.120 H 20.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#782128
RGBrgb(120, 33, 40)
HSLhsl(355, 57%, 30%)
HSVhsv(355, 73%, 47%)
CMYKcmyk(0%, 72.5%, 66.7%, 52.9%)
CIE-LABlab(27.39, 38.06, 17.52)
CIE-LCHlch(27.39, 41.90, 24.71°)
OKLaboklab(38.89% 0.1127 0.0419)
OKLCHoklch(38.89% 0.12 20.4)
XYZxyz(8.6735, 5.2352, 2.5609)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782128 #217871
analogous
#782154 #782128 #784521
triadic
#782128 #287821 #212878
tetradic
#782128 #547821 #217871 #452178
square
#782128 #547821 #217871 #452178
split-complementary
#782128 #217845 #215478
monochromatic
#180708 #481418 #782128 #A82E38 #CC4752

Accessibility & contrast

On white

10.26
#782128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#782128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782128
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782128#FFFFFF#000000##FFFFFF
##7821281.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393528
Deuteranopia (green-blind)
#4F4726
Tritanopia (blue-blind)
#840824
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #782128;
/* rgb */ color: rgb(120, 33, 40);
/* oklch */ color: oklch(38.9% 0.120 20.4);
Tailwind
colors: {
  custom: {
    50: '#a56361',
    500: '#782128',
    950: '#000000',
  },
}
SCSS
$custom: #782128;
$custom-light: #a56361;
$custom-dark: #000000;
JSON
{
  "hex": "#782128",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 355.172,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.12022,
    "h": 20.4
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#782128
secondary
#4AABA3
accent
#E0D448
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100505
muted
#7F7A79

Preview Lab

Preview with #782128

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

Preview Lab → · Contrast checker → · Palette generator →

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