#7C281B#7C281B

#7C281B is a dark, moderate red. Relative luminance 0.059; OKLCH L 40.3% C 0.119 H 31.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7C281B
RGBrgb(124, 40, 27)
HSLhsl(8, 64%, 30%)
HSVhsv(8, 78%, 49%)
CMYKcmyk(0%, 67.7%, 78.2%, 51.4%)
CIE-LABlab(29.12, 35.69, 27.95)
CIE-LCHlch(29.12, 45.33, 38.07°)
OKLaboklab(40.26% 0.1018 0.0622)
OKLCHoklch(40.26% 0.119 31.4)
XYZxyz(9.2698, 5.8831, 1.6841)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C281B #1B6F7C
analogous
#7C1B3F #7C281B #7C591B
triadic
#7C281B #1B7C28 #281B7C
tetradic
#7C281B #3F7C1B #1B6F7C #591B7C
square
#7C281B #3F7C1B #1B6F7C #591B7C
split-complementary
#7C281B #1B7C59 #1B3F7C
monochromatic
#190805 #4A1810 #7C281B #AE3826 #D5513D

Accessibility & contrast

On white

9.65
#7C281B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7C281B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C281B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C281B#FFFFFF#000000##FFFFFF
##7C281B1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403919
Deuteranopia (green-blind)
#554B18
Tritanopia (blue-blind)
#891126
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c281b;
/* rgb */ color: rgb(124, 40, 27);
/* oklch */ color: oklch(40.3% 0.119 31.4);
Tailwind
colors: {
  custom: {
    50: '#a96758',
    500: '#7c281b',
    950: '#000000',
  },
}
SCSS
$custom: #7c281b;
$custom-light: #a96758;
$custom-dark: #000000;
JSON
{
  "hex": "#7c281b",
  "rgb": {
    "r": 124,
    "g": 40,
    "b": 27
  },
  "hsl": {
    "h": 8.041,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40255,
    "c": 0.11934,
    "h": 31.4
  },
  "luminance": 0.05882
}

Semantic roles & 50–950 ramp

primary
#7C281B
secondary
#43A1B0
accent
#D1E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C281B

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

Preview Lab → · Contrast checker → · Palette generator →

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