#782827#782827

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

Color values

HEX#782827
RGBrgb(120, 40, 39)
HSLhsl(1, 51%, 31%)
HSVhsv(1, 68%, 47%)
CMYKcmyk(0%, 66.7%, 67.5%, 52.9%)
CIE-LABlab(28.53, 34.85, 19.61)
CIE-LCHlch(28.53, 39.99, 29.36°)
OKLaboklab(39.73% 0.1023 0.0464)
OKLCHoklch(39.73% 0.112 24.4)
XYZxyz(8.8716, 5.6584, 2.5441)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782827 #277778
analogous
#78274E #782827 #785027
triadic
#782827 #277828 #282778
tetradic
#782827 #4E7827 #277778 #502778
square
#782827 #4E7827 #277778 #502778
split-complementary
#782827 #277850 #274E78
monochromatic
#1C0909 #4A1918 #782827 #A63736 #C75452

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##782827#FFFFFF#000000##FFFFFF
##7828271.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)
#3D3826
Deuteranopia (green-blind)
#514A25
Tritanopia (blue-blind)
#841629
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #782827;
/* rgb */ color: rgb(120, 40, 39);
/* oklch */ color: oklch(39.7% 0.112 24.4);
Tailwind
colors: {
  custom: {
    50: '#a56661',
    500: '#782827',
    950: '#000000',
  },
}
SCSS
$custom: #782827;
$custom-light: #a56661;
$custom-dark: #000000;
JSON
{
  "hex": "#782827",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.741,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.11237,
    "h": 24.4
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#782827
secondary
#51A9AA
accent
#D9DA4D
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100605
muted
#7F7A79

Preview Lab

Preview with #782827

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

Preview Lab → · Contrast checker → · Palette generator →

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