#7A281B#7A281B

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

Color values

HEX#7A281B
RGBrgb(122, 40, 27)
HSLhsl(8, 64%, 29%)
HSVhsv(8, 78%, 48%)
CMYKcmyk(0%, 67.2%, 77.9%, 52.2%)
CIE-LABlab(28.74, 34.93, 27.43)
CIE-LCHlch(28.74, 44.42, 38.14°)
OKLaboklab(39.9% 0.0997 0.0612)
OKLCHoklch(39.9% 0.117 31.6)
XYZxyz(8.9836, 5.7356, 1.6707)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A281B #1B6D7A
analogous
#7A1B3D #7A281B #7A581B
triadic
#7A281B #1B7A28 #281B7A
tetradic
#7A281B #3D7A1B #1B6D7A #581B7A
square
#7A281B #3D7A1B #1B6D7A #581B7A
split-complementary
#7A281B #1B7A58 #1B3D7A
monochromatic
#190806 #481810 #7A281B #AC3826 #D4503C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A281B#FFFFFF#000000##FFFFFF
##7A281B1.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)
#3F3819
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#871225
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a281b;
/* rgb */ color: rgb(122, 40, 27);
/* oklch */ color: oklch(39.9% 0.117 31.6);
Tailwind
colors: {
  custom: {
    50: '#a76658',
    500: '#7a281b',
    950: '#000000',
  },
}
SCSS
$custom: #7a281b;
$custom-light: #a76658;
$custom-dark: #000000;
JSON
{
  "hex": "#7a281b",
  "rgb": {
    "r": 122,
    "g": 40,
    "b": 27
  },
  "hsl": {
    "h": 8.211,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39897,
    "c": 0.11702,
    "h": 31.6
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#7A281B
secondary
#439FAE
accent
#D0E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A281B

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

Preview Lab → · Contrast checker → · Palette generator →

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