#782826#782826

#782826 is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.7% C 0.113 H 25.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#782826
RGBrgb(120, 40, 38)
HSLhsl(1, 52%, 31%)
HSVhsv(1, 68%, 47%)
CMYKcmyk(0%, 66.7%, 68.3%, 52.9%)
CIE-LABlab(28.52, 34.79, 20.23)
CIE-LCHlch(28.52, 40.24, 30.18°)
OKLaboklab(39.71% 0.1019 0.0477)
OKLCHoklch(39.71% 0.113 25.1)
XYZxyz(8.8553, 5.6518, 2.4580)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782826 #267678
analogous
#78264D #782826 #785126
triadic
#782826 #267828 #282678
tetradic
#782826 #4D7826 #267678 #512678
square
#782826 #4D7826 #267678 #512678
split-complementary
#782826 #267851 #264D78
monochromatic
#1B0909 #4A1917 #782826 #A63735 #C85451

Accessibility & contrast

On white

9.86
#782826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782826
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782826#FFFFFF#000000##FFFFFF
##7828261.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3825
Deuteranopia (green-blind)
#514A24
Tritanopia (blue-blind)
#841628
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #782826;
/* rgb */ color: rgb(120, 40, 38);
/* oklch */ color: oklch(39.7% 0.113 25.1);
Tailwind
colors: {
  custom: {
    50: '#a56660',
    500: '#782826',
    950: '#000000',
  },
}
SCSS
$custom: #782826;
$custom-light: #a56660;
$custom-dark: #000000;
JSON
{
  "hex": "#782826",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 38
  },
  "hsl": {
    "h": 1.463,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39713,
    "c": 0.11252,
    "h": 25.1
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#782826
secondary
#50A8AA
accent
#D8DB4C
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100605
muted
#7F7A79

Preview Lab

Preview with #782826

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

Preview Lab → · Contrast checker → · Palette generator →

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