#7E282C#7E282C

#7E282C is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.9% C 0.119 H 21.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7E282C
RGBrgb(126, 40, 44)
HSLhsl(357, 52%, 33%)
HSVhsv(357, 68%, 49%)
CMYKcmyk(0%, 68.3%, 65.1%, 50.6%)
CIE-LABlab(29.75, 37.39, 18.15)
CIE-LCHlch(29.75, 41.56, 25.89°)
OKLaboklab(40.89% 0.1106 0.0435)
OKLCHoklch(40.89% 0.119 21.5)
XYZxyz(9.8186, 6.1364, 3.0498)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E282C #287E7A
analogous
#7E2857 #7E282C #7E4F28
triadic
#7E282C #2C7E28 #282C7E
tetradic
#7E282C #577E28 #287E7A #4F287E
square
#7E282C #577E28 #287E7A #4F287E
split-complementary
#7E282C #287E4F #28577E
monochromatic
#210B0C #50191C #7E282C #AC373C #CA575C

Accessibility & contrast

On white

9.43
#7E282C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E282C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E282C
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E282C#FFFFFF#000000##FFFFFF
##7E282C1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2B
Deuteranopia (green-blind)
#544D2A
Tritanopia (blue-blind)
#8A142A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e282c;
/* rgb */ color: rgb(126, 40, 44);
/* oklch */ color: oklch(40.9% 0.119 21.5);
Tailwind
colors: {
  custom: {
    50: '#a96765',
    500: '#7e282c',
    950: '#000000',
  },
}
SCSS
$custom: #7e282c;
$custom-light: #a96765;
$custom-dark: #000000;
JSON
{
  "hex": "#7e282c",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 44
  },
  "hsl": {
    "h": 357.209,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40888,
    "c": 0.11887,
    "h": 21.5
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#7E282C
secondary
#53AFAA
accent
#DBD54D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E282C

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

Preview Lab → · Contrast checker → · Palette generator →

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