#782829#782829

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

Color values

HEX#782829
RGBrgb(120, 40, 41)
HSLhsl(359, 50%, 31%)
HSVhsv(359, 67%, 47%)
CMYKcmyk(0%, 66.7%, 65.8%, 52.9%)
CIE-LABlab(28.57, 34.99, 18.36)
CIE-LCHlch(28.57, 39.51, 27.68°)
OKLaboklab(39.77% 0.1032 0.0439)
OKLCHoklch(39.77% 0.112 23)
XYZxyz(8.9056, 5.6720, 2.7232)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782829 #287877
analogous
#782851 #782829 #784F28
triadic
#782829 #297828 #282978
tetradic
#782829 #517828 #287877 #4F2878
square
#782829 #517828 #287877 #4F2878
split-complementary
#782829 #28784F #285178
monochromatic
#1C090A #4A1919 #782829 #A63739 #C65456

Accessibility & contrast

On white

9.84
#782829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782829
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782829#FFFFFF#000000##FFFFFF
##7828291.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3928
Deuteranopia (green-blind)
#514A27
Tritanopia (blue-blind)
#841729
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #782829;
/* rgb */ color: rgb(120, 40, 41);
/* oklch */ color: oklch(39.8% 0.112 23.0);
Tailwind
colors: {
  custom: {
    50: '#a56662',
    500: '#782829',
    950: '#000000',
  },
}
SCSS
$custom: #782829;
$custom-light: #a56662;
$custom-dark: #000000;
JSON
{
  "hex": "#782829",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 359.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3977,
    "c": 0.1121,
    "h": 23
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#782829
secondary
#52AAA9
accent
#DAD84E
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #782829

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

Preview Lab → · Contrast checker → · Palette generator →

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