#7A281A#7A281A

#7A281A is a dark, moderate red. Relative luminance 0.057; OKLCH L 39.9% C 0.117 H 32.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7A281A
RGBrgb(122, 40, 26)
HSLhsl(9, 65%, 29%)
HSVhsv(9, 79%, 48%)
CMYKcmyk(0%, 67.2%, 78.7%, 52.2%)
CIE-LABlab(28.72, 34.89, 28.01)
CIE-LCHlch(28.72, 44.74, 38.76°)
OKLaboklab(39.89% 0.0994 0.0622)
OKLCHoklch(39.89% 0.117 32.1)
XYZxyz(8.9723, 5.7310, 1.6108)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A281A #1A6C7A
analogous
#7A1A3C #7A281A #7A581A
triadic
#7A281A #1A7A28 #281A7A
tetradic
#7A281A #3C7A1A #1A6C7A #581A7A
square
#7A281A #3C7A1A #1A6C7A #581A7A
split-complementary
#7A281A #1A7A58 #1A3C7A
monochromatic
#190805 #48170F #7A281A #AC3925 #D55039

Accessibility & contrast

On white

9.79
#7A281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A281A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A281A#FFFFFF#000000##FFFFFF
##7A281A1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3818
Deuteranopia (green-blind)
#534A17
Tritanopia (blue-blind)
#871225
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a281a;
/* rgb */ color: rgb(122, 40, 26);
/* oklch */ color: oklch(39.9% 0.117 32.1);
Tailwind
colors: {
  custom: {
    50: '#a76657',
    500: '#7a281a',
    950: '#000000',
  },
}
SCSS
$custom: #7a281a;
$custom-light: #a76657;
$custom-dark: #000000;
JSON
{
  "hex": "#7a281a",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 8.75,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39885,
    "c": 0.11725,
    "h": 32.1
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#7A281A
secondary
#419EAE
accent
#CFE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A281A

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

Preview Lab → · Contrast checker → · Palette generator →

#7A281A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva