#7E2A34#7E2A34

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

Color values

HEX#7E2A34
RGBrgb(126, 42, 52)
HSLhsl(353, 50%, 33%)
HSVhsv(353, 67%, 49%)
CMYKcmyk(0%, 66.7%, 58.7%, 50.6%)
CIE-LABlab(30.26, 37.08, 13.59)
CIE-LCHlch(30.26, 39.49, 20.12°)
OKLaboklab(41.32% 0.1111 0.0336)
OKLCHoklch(41.32% 0.116 16.8)
XYZxyz(10.0529, 6.3408, 3.9427)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A34 #2A7E74
analogous
#7E2A5E #7E2A34 #7E4A2A
triadic
#7E2A34 #347E2A #2A347E
tetradic
#7E2A34 #5E7E2A #2A7E74 #4A2A7E
square
#7E2A34 #5E7E2A #2A7E74 #4A2A7E
split-complementary
#7E2A34 #2A7E4A #2A5E7E
monochromatic
#220B0E #501B21 #7E2A34 #AC3947 #C85A67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2A34#FFFFFF#000000##FFFFFF
##7E2A341.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)
#3F3C34
Deuteranopia (green-blind)
#544E32
Tritanopia (blue-blind)
#8A1A2E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2a34;
/* rgb */ color: rgb(126, 42, 52);
/* oklch */ color: oklch(41.3% 0.116 16.8);
Tailwind
colors: {
  custom: {
    50: '#a8686b',
    500: '#7e2a34',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a34;
$custom-light: #a8686b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a34",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 52
  },
  "hsl": {
    "h": 352.857,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41316,
    "c": 0.11608,
    "h": 16.8
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#7E2A34
secondary
#56AEA3
accent
#DAC94E
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2A34

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

Preview Lab → · Contrast checker → · Palette generator →

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