#782835#782835

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

Color values

HEX#782835
RGBrgb(120, 40, 53)
HSLhsl(350, 50%, 31%)
HSVhsv(350, 67%, 47%)
CMYKcmyk(0%, 66.7%, 55.8%, 52.9%)
CIE-LABlab(28.82, 35.94, 10.80)
CIE-LCHlch(28.82, 37.53, 16.72°)
OKLaboklab(40.04% 0.1083 0.0271)
OKLCHoklch(40.04% 0.112 14.1)
XYZxyz(9.1479, 5.7689, 3.9993)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782835 #28786B
analogous
#78285D #782835 #784328
triadic
#782835 #357828 #283578
tetradic
#782835 #5D7828 #28786B #432878
square
#782835 #5D7828 #28786B #432878
split-complementary
#782835 #287843 #285D78
monochromatic
#1C090C #4A1921 #782835 #A63749 #C65467

Accessibility & contrast

On white

9.75
#782835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #782835
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782835#FFFFFF#000000##FFFFFF
##7828351.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A35
Deuteranopia (green-blind)
#4F4A33
Tritanopia (blue-blind)
#831A2D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782835;
/* rgb */ color: rgb(120, 40, 53);
/* oklch */ color: oklch(40.0% 0.112 14.1);
Tailwind
colors: {
  custom: {
    50: '#a4676c',
    500: '#782835',
    950: '#000000',
  },
}
SCSS
$custom: #782835;
$custom-light: #a4676c;
$custom-dark: #000000;
JSON
{
  "hex": "#782835",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 53
  },
  "hsl": {
    "h": 350.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4004,
    "c": 0.11167,
    "h": 14.1
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#782835
secondary
#52AA9C
accent
#DAC34E
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #782835

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

Preview Lab → · Contrast checker → · Palette generator →

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