#782817#782817

#782817 is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.5% C 0.116 H 33.7°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#782817
RGBrgb(120, 40, 23)
HSLhsl(11, 68%, 28%)
HSVhsv(11, 81%, 47%)
CMYKcmyk(0%, 66.7%, 80.8%, 52.9%)
CIE-LABlab(28.31, 34.00, 29.21)
CIE-LCHlch(28.31, 44.82, 40.67°)
OKLaboklab(39.49% 0.0962 0.0641)
OKLCHoklch(39.49% 0.116 33.7)
XYZxyz(8.6601, 5.5738, 1.4303)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782817 #176778
analogous
#781737 #782817 #785817
triadic
#782817 #177828 #281778
tetradic
#782817 #377817 #176778 #581778
square
#782817 #377817 #176778 #581778
split-complementary
#782817 #177858 #173778
monochromatic
#1A0905 #45170D #782817 #AB3921 #D84F32

Accessibility & contrast

On white

9.93
#782817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#782817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782817
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782817#FFFFFF#000000##FFFFFF
##7828171.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#851325
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #782817;
/* rgb */ color: rgb(120, 40, 23);
/* oklch */ color: oklch(39.5% 0.116 33.7);
Tailwind
colors: {
  custom: {
    50: '#a66655',
    500: '#782817',
    950: '#000000',
  },
}
SCSS
$custom: #782817;
$custom-light: #a66655;
$custom-dark: #000000;
JSON
{
  "hex": "#782817",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 10.515,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39492,
    "c": 0.11561,
    "h": 33.7
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#782817
secondary
#3E9AAD
accent
#CCEB3D
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #782817

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

Preview Lab → · Contrast checker → · Palette generator →

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