#782837#782837

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

Color values

HEX#782837
RGBrgb(120, 40, 55)
HSLhsl(349, 50%, 31%)
HSVhsv(349, 67%, 47%)
CMYKcmyk(0%, 66.7%, 54.2%, 52.9%)
CIE-LABlab(28.87, 36.12, 9.54)
CIE-LCHlch(28.87, 37.36, 14.79°)
OKLaboklab(40.09% 0.1092 0.0242)
OKLCHoklch(40.09% 0.112 12.5)
XYZxyz(9.1949, 5.7877, 4.2466)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782837 #287869
analogous
#78285F #782837 #784128
triadic
#782837 #377828 #283778
tetradic
#782837 #5F7828 #287869 #412878
square
#782837 #5F7828 #287869 #412878
split-complementary
#782837 #287841 #285F78
monochromatic
#1C090D #4A1922 #782837 #A6374C #C6546A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##782837#FFFFFF#000000##FFFFFF
##7828371.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)
#3B3A37
Deuteranopia (green-blind)
#4F4A35
Tritanopia (blue-blind)
#831B2E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782837;
/* rgb */ color: rgb(120, 40, 55);
/* oklch */ color: oklch(40.1% 0.112 12.5);
Tailwind
colors: {
  custom: {
    50: '#a4676d',
    500: '#782837',
    950: '#000000',
  },
}
SCSS
$custom: #782837;
$custom-light: #a4676d;
$custom-dark: #000000;
JSON
{
  "hex": "#782837",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 348.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40093,
    "c": 0.11182,
    "h": 12.5
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#782837
secondary
#52AA99
accent
#DABF4E
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #782837

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

Preview Lab → · Contrast checker → · Palette generator →

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