#782836#782836

#782836 is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.1% C 0.112 H 13.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#782836
RGBrgb(120, 40, 54)
HSLhsl(350, 50%, 31%)
HSVhsv(350, 67%, 47%)
CMYKcmyk(0%, 66.7%, 55%, 52.9%)
CIE-LABlab(28.85, 36.03, 10.17)
CIE-LCHlch(28.85, 37.44, 15.76°)
OKLaboklab(40.07% 0.1088 0.0257)
OKLCHoklch(40.07% 0.112 13.3)
XYZxyz(9.1712, 5.7782, 4.1217)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782836 #28786A
analogous
#78285E #782836 #784228
triadic
#782836 #367828 #283678
tetradic
#782836 #5E7828 #28786A #422878
square
#782836 #5E7828 #28786A #422878
split-complementary
#782836 #287842 #285E78
monochromatic
#1C090D #4A1921 #782836 #A6374B #C65468

Accessibility & contrast

On white

9.74
#782836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#782836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782836
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782836#FFFFFF#000000##FFFFFF
##7828361.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A36
Deuteranopia (green-blind)
#4F4A34
Tritanopia (blue-blind)
#831A2D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782836;
/* rgb */ color: rgb(120, 40, 54);
/* oklch */ color: oklch(40.1% 0.112 13.3);
Tailwind
colors: {
  custom: {
    50: '#a4676c',
    500: '#782836',
    950: '#000000',
  },
}
SCSS
$custom: #782836;
$custom-light: #a4676c;
$custom-dark: #000000;
JSON
{
  "hex": "#782836",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 54
  },
  "hsl": {
    "h": 349.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40066,
    "c": 0.11174,
    "h": 13.3
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#782836
secondary
#52AA9B
accent
#DAC14E
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #782836

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

Preview Lab → · Contrast checker → · Palette generator →

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