#7E2C29#7E2C29

#7E2C29 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.115 H 25.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7E2C29
RGBrgb(126, 44, 41)
HSLhsl(2, 51%, 33%)
HSVhsv(2, 67%, 49%)
CMYKcmyk(0%, 65.1%, 67.5%, 50.6%)
CIE-LABlab(30.40, 35.32, 20.88)
CIE-LCHlch(30.40, 41.03, 30.60°)
OKLaboklab(41.35% 0.1034 0.0494)
OKLCHoklch(41.35% 0.115 25.5)
XYZxyz(9.9061, 6.3984, 2.8108)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C29 #297B7E
analogous
#7E2950 #7E2C29 #7E5729
triadic
#7E2C29 #297E2C #2C297E
tetradic
#7E2C29 #507E29 #297B7E #57297E
square
#7E2C29 #507E29 #297B7E #57297E
split-complementary
#7E2C29 #297E57 #29507E
monochromatic
#220C0B #501C1A #7E2C29 #AC3C38 #C95D59

Accessibility & contrast

On white

9.21
#7E2C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2C29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C29
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C29#FFFFFF#000000##FFFFFF
##7E2C291.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C28
Deuteranopia (green-blind)
#564E27
Tritanopia (blue-blind)
#8A1A2C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2c29;
/* rgb */ color: rgb(126, 44, 41);
/* oklch */ color: oklch(41.4% 0.115 25.5);
Tailwind
colors: {
  custom: {
    50: '#a96962',
    500: '#7e2c29',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c29;
$custom-light: #a96962;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c29",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 41
  },
  "hsl": {
    "h": 2.118,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.11461,
    "h": 25.5
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#7E2C29
secondary
#55ABAE
accent
#D5DA4D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2C29

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

Preview Lab → · Contrast checker → · Palette generator →

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