#7E282D#7E282D

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

Color values

HEX#7E282D
RGBrgb(126, 40, 45)
HSLhsl(357, 52%, 33%)
HSVhsv(357, 68%, 49%)
CMYKcmyk(0%, 68.3%, 64.3%, 50.6%)
CIE-LABlab(29.77, 37.46, 17.52)
CIE-LCHlch(29.77, 41.36, 25.07°)
OKLaboklab(40.91% 0.111 0.0422)
OKLCHoklch(40.91% 0.119 20.8)
XYZxyz(9.8376, 6.1440, 3.1500)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E282D #287E79
analogous
#7E2858 #7E282D #7E4E28
triadic
#7E282D #2D7E28 #282D7E
tetradic
#7E282D #587E28 #287E79 #4E287E
square
#7E282D #587E28 #287E79 #4E287E
split-complementary
#7E282D #287E4E #28587E
monochromatic
#210B0C #50191C #7E282D #AC373E #CA575D

Accessibility & contrast

On white

9.42
#7E282D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E282D
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E282D#FFFFFF#000000##FFFFFF
##7E282D1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2D
Deuteranopia (green-blind)
#544D2B
Tritanopia (blue-blind)
#8A152A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e282d;
/* rgb */ color: rgb(126, 40, 45);
/* oklch */ color: oklch(40.9% 0.119 20.8);
Tailwind
colors: {
  custom: {
    50: '#a96765',
    500: '#7e282d',
    950: '#000000',
  },
}
SCSS
$custom: #7e282d;
$custom-light: #a96765;
$custom-dark: #000000;
JSON
{
  "hex": "#7e282d",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 45
  },
  "hsl": {
    "h": 356.512,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40908,
    "c": 0.11878,
    "h": 20.8
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#7E282D
secondary
#53AFA9
accent
#DBD34D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E282D

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

Preview Lab → · Contrast checker → · Palette generator →

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