#7C281E#7C281E

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

Color values

HEX#7C281E
RGBrgb(124, 40, 30)
HSLhsl(6, 61%, 30%)
HSVhsv(6, 76%, 49%)
CMYKcmyk(0%, 67.7%, 75.8%, 51.4%)
CIE-LABlab(29.15, 35.83, 26.19)
CIE-LCHlch(29.15, 44.38, 36.17°)
OKLaboklab(40.29% 0.1029 0.0592)
OKLCHoklch(40.29% 0.119 29.9)
XYZxyz(9.3063, 5.8977, 1.8764)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C281E #1E727C
analogous
#7C1E43 #7C281E #7C571E
triadic
#7C281E #1E7C28 #281E7C
tetradic
#7C281E #437C1E #1E727C #571E7C
square
#7C281E #437C1E #1E727C #571E7C
split-complementary
#7C281E #1E7C57 #1E437C
monochromatic
#190806 #4B1812 #7C281E #AD382A #D15243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C281E#FFFFFF#000000##FFFFFF
##7C281E1.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)
#3F391C
Deuteranopia (green-blind)
#544C1B
Tritanopia (blue-blind)
#891226
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c281e;
/* rgb */ color: rgb(124, 40, 30);
/* oklch */ color: oklch(40.3% 0.119 29.9);
Tailwind
colors: {
  custom: {
    50: '#a9675a',
    500: '#7c281e',
    950: '#000000',
  },
}
SCSS
$custom: #7c281e;
$custom-light: #a9675a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c281e",
  "rgb": {
    "r": 124,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 6.383,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40295,
    "c": 0.11871,
    "h": 29.9
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#7C281E
secondary
#46A4AF
accent
#D3E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7C281E

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

Preview Lab → · Contrast checker → · Palette generator →

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