#7E2829#7E2829

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

Color values

HEX#7E2829
RGBrgb(126, 40, 41)
HSLhsl(359, 52%, 33%)
HSVhsv(359, 68%, 49%)
CMYKcmyk(0%, 68.3%, 67.5%, 50.6%)
CIE-LABlab(29.70, 37.19, 20.02)
CIE-LCHlch(29.70, 42.23, 28.29°)
OKLaboklab(40.83% 0.1094 0.0474)
OKLCHoklch(40.83% 0.119 23.4)
XYZxyz(9.7642, 6.1147, 2.7635)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2829 #287E7D
analogous
#7E2854 #7E2829 #7E5228
triadic
#7E2829 #297E28 #28297E
tetradic
#7E2829 #547E28 #287E7D #52287E
square
#7E2829 #547E28 #287E7D #52287E
split-complementary
#7E2829 #287E52 #28547E
monochromatic
#210B0B #50191A #7E2829 #AC3738 #CA5758

Accessibility & contrast

On white

9.45
#7E2829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2829
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2829#FFFFFF#000000##FFFFFF
##7E28291.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A28
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#8B1329
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2829;
/* rgb */ color: rgb(126, 40, 41);
/* oklch */ color: oklch(40.8% 0.119 23.4);
Tailwind
colors: {
  custom: {
    50: '#a96762',
    500: '#7e2829',
    950: '#000000',
  },
}
SCSS
$custom: #7e2829;
$custom-light: #a96762;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2829",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 41
  },
  "hsl": {
    "h": 359.302,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4083,
    "c": 0.11919,
    "h": 23.4
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

primary
#7E2829
secondary
#53AFAE
accent
#DBDA4D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2829

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

Preview Lab → · Contrast checker → · Palette generator →

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