#7E2A2E#7E2A2E

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

Color values

HEX#7E2A2E
RGBrgb(126, 42, 46)
HSLhsl(357, 50%, 33%)
HSVhsv(357, 67%, 49%)
CMYKcmyk(0%, 66.7%, 63.5%, 50.6%)
CIE-LABlab(30.13, 36.61, 17.34)
CIE-LCHlch(30.13, 40.51, 25.34°)
OKLaboklab(41.18% 0.1085 0.0419)
OKLCHoklch(41.18% 0.116 21.1)
XYZxyz(9.9262, 6.2901, 3.2757)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A2E #2A7E7A
analogous
#7E2A58 #7E2A2E #7E502A
triadic
#7E2A2E #2E7E2A #2A2E7E
tetradic
#7E2A2E #587E2A #2A7E7A #502A7E
square
#7E2A2E #587E2A #2A7E7A #502A7E
split-complementary
#7E2A2E #2A7E50 #2A587E
monochromatic
#220B0C #501B1D #7E2A2E #AC393F #C85A60

Accessibility & contrast

On white

9.30
#7E2A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E2A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A2E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A2E#FFFFFF#000000##FFFFFF
##7E2A2E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2E
Deuteranopia (green-blind)
#554E2C
Tritanopia (blue-blind)
#8A182C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2a2e;
/* rgb */ color: rgb(126, 42, 46);
/* oklch */ color: oklch(41.2% 0.116 21.1);
Tailwind
colors: {
  custom: {
    50: '#a96866',
    500: '#7e2a2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a2e;
$custom-light: #a96866;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a2e",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 357.143,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41184,
    "c": 0.11633,
    "h": 21.1
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#7E2A2E
secondary
#56AEAA
accent
#DAD34E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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