#7E2A29#7E2A29

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

Color values

HEX#7E2A29
RGBrgb(126, 42, 41)
HSLhsl(1, 51%, 33%)
HSVhsv(1, 67%, 49%)
CMYKcmyk(0%, 66.7%, 67.5%, 50.6%)
CIE-LABlab(30.04, 36.27, 20.44)
CIE-LCHlch(30.04, 41.63, 29.41°)
OKLaboklab(41.09% 0.1064 0.0484)
OKLCHoklch(41.09% 0.117 24.4)
XYZxyz(9.8334, 6.2530, 2.7865)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A29 #297D7E
analogous
#7E2952 #7E2A29 #7E5429
triadic
#7E2A29 #297E2A #2A297E
tetradic
#7E2A29 #527E29 #297D7E #54297E
square
#7E2A29 #527E29 #297D7E #54297E
split-complementary
#7E2A29 #297E54 #29527E
monochromatic
#220B0B #501B1A #7E2A29 #AC3938 #C95A59

Accessibility & contrast

On white

9.33
#7E2A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A29
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A29#FFFFFF#000000##FFFFFF
##7E2A291.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2a29;
/* rgb */ color: rgb(126, 42, 41);
/* oklch */ color: oklch(41.1% 0.117 24.4);
Tailwind
colors: {
  custom: {
    50: '#a96862',
    500: '#7e2a29',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a29;
$custom-light: #a96862;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a29",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 41
  },
  "hsl": {
    "h": 0.706,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41086,
    "c": 0.11691,
    "h": 24.4
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#7E2A29
secondary
#55ADAE
accent
#D9DA4D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2A29

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

Preview Lab → · Contrast checker → · Palette generator →

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