#782834#782834

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

Color values

HEX#782834
RGBrgb(120, 40, 52)
HSLhsl(351, 50%, 31%)
HSVhsv(351, 67%, 47%)
CMYKcmyk(0%, 66.7%, 56.7%, 52.9%)
CIE-LABlab(28.80, 35.85, 11.43)
CIE-LCHlch(28.80, 37.63, 17.68°)
OKLaboklab(40.02% 0.1079 0.0286)
OKLCHoklch(40.02% 0.112 14.8)
XYZxyz(9.1251, 5.7598, 3.8794)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782834 #28786C
analogous
#78285C #782834 #784428
triadic
#782834 #347828 #283478
tetradic
#782834 #5C7828 #28786C #442878
square
#782834 #5C7828 #28786C #442878
split-complementary
#782834 #287844 #285C78
monochromatic
#1C090C #4A1920 #782834 #A63748 #C65465

Accessibility & contrast

On white

9.76
#782834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#782834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782834
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782834#FFFFFF#000000##FFFFFF
##7828341.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3934
Deuteranopia (green-blind)
#504A32
Tritanopia (blue-blind)
#831A2D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782834;
/* rgb */ color: rgb(120, 40, 52);
/* oklch */ color: oklch(40.0% 0.112 14.8);
Tailwind
colors: {
  custom: {
    50: '#a4676b',
    500: '#782834',
    950: '#000000',
  },
}
SCSS
$custom: #782834;
$custom-light: #a4676b;
$custom-dark: #000000;
JSON
{
  "hex": "#782834",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 52
  },
  "hsl": {
    "h": 351,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40015,
    "c": 0.11162,
    "h": 14.8
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#782834
secondary
#52AA9D
accent
#DAC54E
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #782834

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

Preview Lab → · Contrast checker → · Palette generator →

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