#7E2929#7E2929

#7E2929 is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.0% C 0.118 H 23.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7E2929
RGBrgb(126, 41, 41)
HSLhsl(0, 51%, 33%)
HSVhsv(0, 67%, 49%)
CMYKcmyk(0%, 67.5%, 67.5%, 50.6%)
CIE-LABlab(29.87, 36.73, 20.23)
CIE-LCHlch(29.87, 41.93, 28.84°)
OKLaboklab(40.96% 0.1079 0.0479)
OKLCHoklch(40.96% 0.118 23.9)
XYZxyz(9.7983, 6.1830, 2.7749)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2929 #297E7E
analogous
#7E2953 #7E2929 #7E5329
triadic
#7E2929 #297E29 #29297E
tetradic
#7E2929 #537E29 #297E7E #53297E
square
#7E2929 #537E29 #297E7E #53297E
split-complementary
#7E2929 #297E53 #29537E
monochromatic
#220B0B #501A1A #7E2929 #AC3838 #C95959

Accessibility & contrast

On white

9.39
#7E2929 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E2929 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2929
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2929#FFFFFF#000000##FFFFFF
##7E29291.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B28
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#8B152A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2929;
/* rgb */ color: rgb(126, 41, 41);
/* oklch */ color: oklch(41.0% 0.118 23.9);
Tailwind
colors: {
  custom: {
    50: '#a96862',
    500: '#7e2929',
    950: '#000000',
  },
}
SCSS
$custom: #7e2929;
$custom-light: #a96862;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2929",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 41
  },
  "hsl": {
    "h": 0,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40957,
    "c": 0.11805,
    "h": 23.9
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#7E2929
secondary
#55AEAE
accent
#DADA4D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2929

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

Preview Lab → · Contrast checker → · Palette generator →

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