#782838#782838

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

Color values

HEX#782838
RGBrgb(120, 40, 56)
HSLhsl(348, 50%, 31%)
HSVhsv(348, 67%, 47%)
CMYKcmyk(0%, 66.7%, 53.3%, 52.9%)
CIE-LABlab(28.90, 36.22, 8.91)
CIE-LCHlch(28.90, 37.30, 13.82°)
OKLaboklab(40.12% 0.1096 0.0227)
OKLCHoklch(40.12% 0.112 11.7)
XYZxyz(9.2191, 5.7973, 4.3741)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782838 #287868
analogous
#782860 #782838 #784028
triadic
#782838 #387828 #283878
tetradic
#782838 #607828 #287868 #402878
square
#782838 #607828 #287868 #402878
split-complementary
#782838 #287840 #286078
monochromatic
#1C090D #4A1923 #782838 #A6374D #C6546B

Accessibility & contrast

On white

9.73
#782838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#782838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782838
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782838#FFFFFF#000000##FFFFFF
##7828381.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3A38
Deuteranopia (green-blind)
#4F4A36
Tritanopia (blue-blind)
#831B2E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782838;
/* rgb */ color: rgb(120, 40, 56);
/* oklch */ color: oklch(40.1% 0.112 11.7);
Tailwind
colors: {
  custom: {
    50: '#a3676e',
    500: '#782838',
    950: '#000000',
  },
}
SCSS
$custom: #782838;
$custom-light: #a3676e;
$custom-dark: #000000;
JSON
{
  "hex": "#782838",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 348,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40119,
    "c": 0.11192,
    "h": 11.7
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#782838
secondary
#52AA98
accent
#DABE4E
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #782838

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

Preview Lab → · Contrast checker → · Palette generator →

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