#782831#782831

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

Color values

HEX#782831
RGBrgb(120, 40, 49)
HSLhsl(353, 50%, 31%)
HSVhsv(353, 67%, 47%)
CMYKcmyk(0%, 66.7%, 59.2%, 52.9%)
CIE-LABlab(28.73, 35.60, 13.32)
CIE-LCHlch(28.73, 38.01, 20.51°)
OKLaboklab(39.94% 0.1066 0.0329)
OKLCHoklch(39.94% 0.112 17.2)
XYZxyz(9.0597, 5.7336, 3.5348)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782831 #28786F
analogous
#782859 #782831 #784728
triadic
#782831 #317828 #283178
tetradic
#782831 #597828 #28786F #472878
square
#782831 #597828 #28786F #472878
split-complementary
#782831 #287847 #285978
monochromatic
#1C090C #4A191E #782831 #A63744 #C65461

Accessibility & contrast

On white

9.78
#782831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782831
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782831#FFFFFF#000000##FFFFFF
##7828311.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3931
Deuteranopia (green-blind)
#504A2F
Tritanopia (blue-blind)
#83192C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782831;
/* rgb */ color: rgb(120, 40, 49);
/* oklch */ color: oklch(39.9% 0.112 17.2);
Tailwind
colors: {
  custom: {
    50: '#a46768',
    500: '#782831',
    950: '#000000',
  },
}
SCSS
$custom: #782831;
$custom-light: #a46768;
$custom-dark: #000000;
JSON
{
  "hex": "#782831",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 353.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39942,
    "c": 0.11157,
    "h": 17.2
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#782831
secondary
#52AAA0
accent
#DACA4E
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #782831

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

Preview Lab → · Contrast checker → · Palette generator →

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