#7A281C#7A281C

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

Color values

HEX#7A281C
RGBrgb(122, 40, 28)
HSLhsl(8, 63%, 29%)
HSVhsv(8, 77%, 48%)
CMYKcmyk(0%, 67.2%, 77%, 52.2%)
CIE-LABlab(28.75, 34.98, 26.85)
CIE-LCHlch(28.75, 44.09, 37.50°)
OKLaboklab(39.91% 0.1001 0.0602)
OKLCHoklch(39.91% 0.117 31)
XYZxyz(8.9954, 5.7403, 1.7327)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A281C #1C6E7A
analogous
#7A1C3F #7A281C #7A571C
triadic
#7A281C #1C7A28 #281C7A
tetradic
#7A281C #3F7A1C #1C6E7A #571C7A
square
#7A281C #3F7A1C #1C6E7A #571C7A
split-complementary
#7A281C #1C7A57 #1C3F7A
monochromatic
#190806 #481811 #7A281C #AC3827 #D3513E

Accessibility & contrast

On white

9.78
#7A281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A281C
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A281C#FFFFFF#000000##FFFFFF
##7A281C1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381A
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#871226
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a281c;
/* rgb */ color: rgb(122, 40, 28);
/* oklch */ color: oklch(39.9% 0.117 31.0);
Tailwind
colors: {
  custom: {
    50: '#a76659',
    500: '#7a281c',
    950: '#000000',
  },
}
SCSS
$custom: #7a281c;
$custom-light: #a76659;
$custom-dark: #000000;
JSON
{
  "hex": "#7a281c",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 7.66,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39911,
    "c": 0.11681,
    "h": 31
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#7A281C
secondary
#44A0AE
accent
#D1E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A281C

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

Preview Lab → · Contrast checker → · Palette generator →

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