#78261F#78261F

#78261F is a dark, moderate red. Relative luminance 0.055; OKLCH L 39.3% C 0.116 H 28.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#78261F
RGBrgb(120, 38, 31)
HSLhsl(5, 59%, 30%)
HSVhsv(5, 74%, 47%)
CMYKcmyk(0%, 68.3%, 74.2%, 52.9%)
CIE-LABlab(28.06, 35.31, 24.12)
CIE-LCHlch(28.06, 42.77, 34.34°)
OKLaboklab(39.34% 0.102 0.0551)
OKLCHoklch(39.34% 0.116 28.4)
XYZxyz(8.6871, 5.4795, 1.8963)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78261F #1F7178
analogous
#781F45 #78261F #78531F
triadic
#78261F #1F7826 #261F78
tetradic
#78261F #45781F #1F7178 #531F78
square
#78261F #45781F #1F7178 #531F78
split-complementary
#78261F #1F7853 #1F4578
monochromatic
#180806 #471712 #78261F #A9352C #CE4E43

Accessibility & contrast

On white

10.02
#78261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#78261F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78261F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78261F#FFFFFF#000000##FFFFFF
##78261F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371E
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#841025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #78261f;
/* rgb */ color: rgb(120, 38, 31);
/* oklch */ color: oklch(39.3% 0.116 28.4);
Tailwind
colors: {
  custom: {
    50: '#a5655b',
    500: '#78261f',
    950: '#000000',
  },
}
SCSS
$custom: #78261f;
$custom-light: #a5655b;
$custom-dark: #000000;
JSON
{
  "hex": "#78261f",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 4.719,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39335,
    "c": 0.11596,
    "h": 28.4
  },
  "luminance": 0.05478
}

Semantic roles & 50–950 ramp

primary
#78261F
secondary
#47A4AB
accent
#D6E246
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #78261F

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

Preview Lab → · Contrast checker → · Palette generator →

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