#782A2A#782A2A

#782A2A is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.1% C 0.110 H 23.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#782A2A
RGBrgb(120, 42, 42)
HSLhsl(0, 48%, 32%)
HSVhsv(0, 65%, 47%)
CMYKcmyk(0%, 65%, 65%, 52.9%)
CIE-LABlab(28.95, 34.10, 18.19)
CIE-LCHlch(28.95, 38.64, 28.07°)
OKLaboklab(40.06% 0.1006 0.0436)
OKLCHoklch(40.06% 0.11 23.4)
XYZxyz(8.9925, 5.8174, 2.8394)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A2A #2A7878
analogous
#782A51 #782A2A #78512A
triadic
#782A2A #2A782A #2A2A78
tetradic
#782A2A #51782A #2A7878 #512A78
square
#782A2A #51782A #2A7878 #512A78
split-complementary
#782A2A #2A7851 #2A5178
monochromatic
#1D0A0A #4B1A1A #782A2A #A53A3A #C55858

Accessibility & contrast

On white

9.71
#782A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#782A2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A2A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A2A#FFFFFF#000000##FFFFFF
##782A2A1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A29
Deuteranopia (green-blind)
#524A28
Tritanopia (blue-blind)
#841A2B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782a2a;
/* rgb */ color: rgb(120, 42, 42);
/* oklch */ color: oklch(40.1% 0.110 23.4);
Tailwind
colors: {
  custom: {
    50: '#a46863',
    500: '#782a2a',
    950: '#000000',
  },
}
SCSS
$custom: #782a2a;
$custom-light: #a46863;
$custom-dark: #000000;
JSON
{
  "hex": "#782a2a",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 42
  },
  "hsl": {
    "h": 0,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40059,
    "c": 0.10959,
    "h": 23.4
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#782A2A
secondary
#54AAAA
accent
#D8D850
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100605
muted
#7F7A79

Preview Lab

Preview with #782A2A

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

Preview Lab → · Contrast checker → · Palette generator →

#782A2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva