#7E293B#7E293B

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

Color values

HEX#7E293B
RGBrgb(126, 41, 59)
HSLhsl(347, 51%, 33%)
HSVhsv(347, 67%, 49%)
CMYKcmyk(0%, 67.5%, 53.2%, 50.6%)
CIE-LABlab(30.25, 38.15, 8.97)
CIE-LCHlch(30.25, 39.19, 13.24°)
OKLaboklab(41.37% 0.1155 0.0229)
OKLCHoklch(41.37% 0.118 11.2)
XYZxyz(10.1874, 6.3386, 4.8238)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E293B #297E6C
analogous
#7E2965 #7E293B #7E4129
triadic
#7E293B #3B7E29 #293B7E
tetradic
#7E293B #657E29 #297E6C #41297E
square
#7E293B #657E29 #297E6C #41297E
split-complementary
#7E293B #297E41 #29657E
monochromatic
#220B10 #501A25 #7E293B #AC3851 #C95970

Accessibility & contrast

On white

9.26
#7E293B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E293B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E293B#FFFFFF#000000##FFFFFF
##7E293B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C3B
Deuteranopia (green-blind)
#534E39
Tritanopia (blue-blind)
#8A1B30
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e293b;
/* rgb */ color: rgb(126, 41, 59);
/* oklch */ color: oklch(41.4% 0.118 11.2);
Tailwind
colors: {
  custom: {
    50: '#a86870',
    500: '#7e293b',
    950: '#000000',
  },
}
SCSS
$custom: #7e293b;
$custom-light: #a86870;
$custom-dark: #000000;
JSON
{
  "hex": "#7e293b",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 59
  },
  "hsl": {
    "h": 347.294,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41366,
    "c": 0.11777,
    "h": 11.2
  },
  "luminance": 0.06337
}

Semantic roles & 50–950 ramp

primary
#7E293B
secondary
#55AE9B
accent
#DABD4D
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E293B

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

Preview Lab → · Contrast checker → · Palette generator →

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