#78291F#78291F

#78291F is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.7% C 0.113 H 30.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#78291F
RGBrgb(120, 41, 31)
HSLhsl(7, 59%, 30%)
HSVhsv(7, 74%, 47%)
CMYKcmyk(0%, 65.8%, 74.2%, 52.9%)
CIE-LABlab(28.59, 33.89, 24.73)
CIE-LCHlch(28.59, 41.96, 36.12°)
OKLaboklab(39.73% 0.0976 0.0564)
OKLCHoklch(39.73% 0.113 30)
XYZxyz(8.7869, 5.6791, 1.9295)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78291F #1F6E78
analogous
#781F41 #78291F #78561F
triadic
#78291F #1F7829 #291F78
tetradic
#78291F #41781F #1F6E78 #561F78
square
#78291F #41781F #1F6E78 #561F78
split-complementary
#78291F #1F7856 #1F4178
monochromatic
#180806 #471812 #78291F #A93A2C #CE5343

Accessibility & contrast

On white

9.83
#78291F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#78291F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78291F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78291F#FFFFFF#000000##FFFFFF
##78291F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391D
Deuteranopia (green-blind)
#524A1D
Tritanopia (blue-blind)
#841627
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #78291f;
/* rgb */ color: rgb(120, 41, 31);
/* oklch */ color: oklch(39.7% 0.113 30.0);
Tailwind
colors: {
  custom: {
    50: '#a5675b',
    500: '#78291f',
    950: '#000000',
  },
}
SCSS
$custom: #78291f;
$custom-light: #a5675b;
$custom-dark: #000000;
JSON
{
  "hex": "#78291f",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 31
  },
  "hsl": {
    "h": 6.742,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39732,
    "c": 0.11273,
    "h": 30
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#78291F
secondary
#47A0AB
accent
#D1E246
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100604
muted
#7F7A79

Preview Lab

Preview with #78291F

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

Preview Lab → · Contrast checker → · Palette generator →

#78291F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva