#7E2A26#7E2A26

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

Color values

HEX#7E2A26
RGBrgb(126, 42, 38)
HSLhsl(3, 54%, 32%)
HSVhsv(3, 70%, 49%)
CMYKcmyk(0%, 66.7%, 69.8%, 50.6%)
CIE-LABlab(29.99, 36.08, 22.29)
CIE-LCHlch(29.99, 42.41, 31.71°)
OKLaboklab(41.03% 0.1052 0.0521)
OKLCHoklch(41.03% 0.117 26.3)
XYZxyz(9.7830, 6.2329, 2.5213)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A26 #267A7E
analogous
#7E264E #7E2A26 #7E5626
triadic
#7E2A26 #267E2A #2A267E
tetradic
#7E2A26 #4E7E26 #267A7E #56267E
square
#7E2A26 #4E7E26 #267A7E #56267E
split-complementary
#7E2A26 #267E56 #264E7E
monochromatic
#200B0A #4F1A18 #7E2A26 #AD3A34 #CB5953

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2A26#FFFFFF#000000##FFFFFF
##7E2A261.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)
#413B25
Deuteranopia (green-blind)
#564D24
Tritanopia (blue-blind)
#8B162A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2a26;
/* rgb */ color: rgb(126, 42, 38);
/* oklch */ color: oklch(41.0% 0.117 26.3);
Tailwind
colors: {
  custom: {
    50: '#a96860',
    500: '#7e2a26',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a26;
$custom-light: #a96860;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a26",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 38
  },
  "hsl": {
    "h": 2.727,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41033,
    "c": 0.11737,
    "h": 26.3
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#7E2A26
secondary
#50ABB0
accent
#D6DD4B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2A26

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

Preview Lab → · Contrast checker → · Palette generator →

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