#7E292F#7E292F

#7E292F is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.1% C 0.117 H 19.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7E292F
RGBrgb(126, 41, 47)
HSLhsl(356, 51%, 33%)
HSVhsv(356, 67%, 49%)
CMYKcmyk(0%, 67.5%, 62.7%, 50.6%)
CIE-LABlab(29.98, 37.15, 16.49)
CIE-LCHlch(29.98, 40.64, 23.93°)
OKLaboklab(41.08% 0.1104 0.04)
OKLCHoklch(41.08% 0.117 19.9)
XYZxyz(9.9112, 6.2281, 3.3690)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E292F #297E78
analogous
#7E2959 #7E292F #7E4E29
triadic
#7E292F #2F7E29 #292F7E
tetradic
#7E292F #597E29 #297E78 #4E297E
square
#7E292F #597E29 #297E78 #4E297E
split-complementary
#7E292F #297E4E #29597E
monochromatic
#220B0D #501A1E #7E292F #AC3840 #C95960

Accessibility & contrast

On white

9.35
#7E292F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E292F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E292F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E292F#FFFFFF#000000##FFFFFF
##7E292F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2F
Deuteranopia (green-blind)
#544D2D
Tritanopia (blue-blind)
#8A172C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e292f;
/* rgb */ color: rgb(126, 41, 47);
/* oklch */ color: oklch(41.1% 0.117 19.9);
Tailwind
colors: {
  custom: {
    50: '#a96867',
    500: '#7e292f',
    950: '#000000',
  },
}
SCSS
$custom: #7e292f;
$custom-light: #a96867;
$custom-dark: #000000;
JSON
{
  "hex": "#7e292f",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 47
  },
  "hsl": {
    "h": 355.765,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41076,
    "c": 0.11746,
    "h": 19.9
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#7E292F
secondary
#55AEA8
accent
#DAD04D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E292F

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

Preview Lab → · Contrast checker → · Palette generator →

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