#7E282A#7E282A

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

Color values

HEX#7E282A
RGBrgb(126, 40, 42)
HSLhsl(359, 52%, 33%)
HSVhsv(359, 68%, 49%)
CMYKcmyk(0%, 68.3%, 66.7%, 50.6%)
CIE-LABlab(29.72, 37.26, 19.39)
CIE-LCHlch(29.72, 42.00, 27.50°)
OKLaboklab(40.85% 0.1098 0.0461)
OKLCHoklch(40.85% 0.119 22.8)
XYZxyz(9.7819, 6.1217, 2.8566)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E282A #287E7C
analogous
#7E2855 #7E282A #7E5128
triadic
#7E282A #2A7E28 #282A7E
tetradic
#7E282A #557E28 #287E7C #51287E
square
#7E282A #557E28 #287E7C #51287E
split-complementary
#7E282A #287E51 #28557E
monochromatic
#210B0B #50191B #7E282A #AC3739 #CA5759

Accessibility & contrast

On white

9.44
#7E282A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E282A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E282A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E282A#FFFFFF#000000##FFFFFF
##7E282A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A29
Deuteranopia (green-blind)
#544D28
Tritanopia (blue-blind)
#8B142A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e282a;
/* rgb */ color: rgb(126, 40, 42);
/* oklch */ color: oklch(40.8% 0.119 22.8);
Tailwind
colors: {
  custom: {
    50: '#a96763',
    500: '#7e282a',
    950: '#000000',
  },
}
SCSS
$custom: #7e282a;
$custom-light: #a96763;
$custom-dark: #000000;
JSON
{
  "hex": "#7e282a",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 42
  },
  "hsl": {
    "h": 358.605,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40849,
    "c": 0.11906,
    "h": 22.8
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#7E282A
secondary
#53AFAD
accent
#DBD84D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E282A

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

Preview Lab → · Contrast checker → · Palette generator →

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