#7E293A#7E293A

#7E293A is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.3% C 0.118 H 11.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7E293A
RGBrgb(126, 41, 58)
HSLhsl(348, 51%, 33%)
HSVhsv(348, 67%, 49%)
CMYKcmyk(0%, 67.5%, 54%, 50.6%)
CIE-LABlab(30.23, 38.06, 9.60)
CIE-LCHlch(30.23, 39.25, 14.16°)
OKLaboklab(41.34% 0.1151 0.0244)
OKLCHoklch(41.34% 0.118 11.9)
XYZxyz(10.1617, 6.3283, 4.6885)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E293A #297E6D
analogous
#7E2964 #7E293A #7E4229
triadic
#7E293A #3A7E29 #293A7E
tetradic
#7E293A #647E29 #297E6D #42297E
square
#7E293A #647E29 #297E6D #42297E
split-complementary
#7E293A #297E42 #29647E
monochromatic
#220B0F #501A25 #7E293A #AC384F #C9596F

Accessibility & contrast

On white

9.27
#7E293A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E293A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E293A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E293A#FFFFFF#000000##FFFFFF
##7E293A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C3A
Deuteranopia (green-blind)
#534E38
Tritanopia (blue-blind)
#8A1A30
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e293a;
/* rgb */ color: rgb(126, 41, 58);
/* oklch */ color: oklch(41.3% 0.118 11.9);
Tailwind
colors: {
  custom: {
    50: '#a8686f',
    500: '#7e293a',
    950: '#000000',
  },
}
SCSS
$custom: #7e293a;
$custom-light: #a8686f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e293a",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 58
  },
  "hsl": {
    "h": 348,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41339,
    "c": 0.11766,
    "h": 11.9
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#7E293A
secondary
#55AE9C
accent
#DABE4D
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E293A

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

Preview Lab → · Contrast checker → · Palette generator →

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