#7B281A#7B281A

#7B281A is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.1% C 0.118 H 32.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7B281A
RGBrgb(123, 40, 26)
HSLhsl(9, 65%, 29%)
HSVhsv(9, 79%, 48%)
CMYKcmyk(0%, 67.5%, 78.9%, 51.8%)
CIE-LABlab(28.91, 35.27, 28.27)
CIE-LCHlch(28.91, 45.20, 38.72°)
OKLaboklab(40.06% 0.1004 0.0627)
OKLCHoklch(40.06% 0.118 32)
XYZxyz(9.1146, 5.8044, 1.6175)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B281A #1A6D7B
analogous
#7B1A3D #7B281A #7B591A
triadic
#7B281A #1A7B28 #281A7B
tetradic
#7B281A #3D7B1A #1A6D7B #591A7B
square
#7B281A #3D7B1A #1A6D7B #591A7B
split-complementary
#7B281A #1A7B59 #1A3D7B
monochromatic
#190805 #48180F #7B281A #AE3825 #D5503A

Accessibility & contrast

On white

9.72
#7B281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7B281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B281A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B281A#FFFFFF#000000##FFFFFF
##7B281A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3918
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#881125
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b281a;
/* rgb */ color: rgb(123, 40, 26);
/* oklch */ color: oklch(40.1% 0.118 32.0);
Tailwind
colors: {
  custom: {
    50: '#a86657',
    500: '#7b281a',
    950: '#000000',
  },
}
SCSS
$custom: #7b281a;
$custom-light: #a86657;
$custom-dark: #000000;
JSON
{
  "hex": "#7b281a",
  "rgb": {
    "r": 123,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 8.66,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40063,
    "c": 0.11841,
    "h": 32
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#7B281A
secondary
#429FAF
accent
#D0E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B281A

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

Preview Lab → · Contrast checker → · Palette generator →

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