#7C281C#7C281C

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

Color values

HEX#7C281C
RGBrgb(124, 40, 28)
HSLhsl(8, 63%, 30%)
HSVhsv(8, 77%, 49%)
CMYKcmyk(0%, 67.7%, 77.4%, 51.4%)
CIE-LABlab(29.13, 35.73, 27.37)
CIE-LCHlch(29.13, 45.01, 37.45°)
OKLaboklab(40.27% 0.1022 0.0612)
OKLCHoklch(40.27% 0.119 30.9)
XYZxyz(9.2816, 5.8878, 1.7461)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C281C #1C707C
analogous
#7C1C40 #7C281C #7C581C
triadic
#7C281C #1C7C28 #281C7C
tetradic
#7C281C #407C1C #1C707C #581C7C
square
#7C281C #407C1C #1C707C #581C7C
split-complementary
#7C281C #1C7C58 #1C407C
monochromatic
#190806 #4A1811 #7C281C #AE3827 #D4513F

Accessibility & contrast

On white

9.64
#7C281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C281C
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C281C#FFFFFF#000000##FFFFFF
##7C281C1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40391A
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#891126
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c281c;
/* rgb */ color: rgb(124, 40, 28);
/* oklch */ color: oklch(40.3% 0.119 30.9);
Tailwind
colors: {
  custom: {
    50: '#a96759',
    500: '#7c281c',
    950: '#000000',
  },
}
SCSS
$custom: #7c281c;
$custom-light: #a96759;
$custom-dark: #000000;
JSON
{
  "hex": "#7c281c",
  "rgb": {
    "r": 124,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 7.5,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40268,
    "c": 0.11913,
    "h": 30.9
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#7C281C
secondary
#44A2B0
accent
#D2E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7C281C

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

Preview Lab → · Contrast checker → · Palette generator →

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