#782828#782828

#782828 is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.8% C 0.112 H 23.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#782828
RGBrgb(120, 40, 40)
HSLhsl(0, 50%, 31%)
HSVhsv(0, 67%, 47%)
CMYKcmyk(0%, 66.7%, 66.7%, 52.9%)
CIE-LABlab(28.55, 34.92, 18.98)
CIE-LCHlch(28.55, 39.74, 28.53°)
OKLaboklab(39.75% 0.1027 0.0452)
OKLCHoklch(39.75% 0.112 23.7)
XYZxyz(8.8884, 5.6651, 2.6325)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782828 #287878
analogous
#782850 #782828 #785028
triadic
#782828 #287828 #282878
tetradic
#782828 #507828 #287878 #502878
square
#782828 #507828 #287878 #502878
split-complementary
#782828 #287850 #285078
monochromatic
#1C0909 #4A1919 #782828 #A63737 #C65454

Accessibility & contrast

On white

9.85
#782828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#782828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782828
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782828#FFFFFF#000000##FFFFFF
##7828281.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3927
Deuteranopia (green-blind)
#514A26
Tritanopia (blue-blind)
#841629
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #782828;
/* rgb */ color: rgb(120, 40, 40);
/* oklch */ color: oklch(39.8% 0.112 23.7);
Tailwind
colors: {
  custom: {
    50: '#a56662',
    500: '#782828',
    950: '#000000',
  },
}
SCSS
$custom: #782828;
$custom-light: #a56662;
$custom-dark: #000000;
JSON
{
  "hex": "#782828",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3975,
    "c": 0.11223,
    "h": 23.7
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#782828
secondary
#52AAAA
accent
#DADA4E
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #782828

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

Preview Lab → · Contrast checker → · Palette generator →

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