#7E2A32#7E2A32

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

Color values

HEX#7E2A32
RGBrgb(126, 42, 50)
HSLhsl(354, 50%, 33%)
HSVhsv(354, 67%, 49%)
CMYKcmyk(0%, 66.7%, 60.3%, 50.6%)
CIE-LABlab(30.21, 36.92, 14.84)
CIE-LCHlch(30.21, 39.79, 21.90°)
OKLaboklab(41.27% 0.1102 0.0364)
OKLCHoklch(41.27% 0.116 18.3)
XYZxyz(10.0088, 6.3232, 3.7104)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A32 #2A7E76
analogous
#7E2A5C #7E2A32 #7E4C2A
triadic
#7E2A32 #327E2A #2A327E
tetradic
#7E2A32 #5C7E2A #2A7E76 #4C2A7E
square
#7E2A32 #5C7E2A #2A7E76 #4C2A7E
split-complementary
#7E2A32 #2A7E4C #2A5C7E
monochromatic
#220B0E #501B20 #7E2A32 #AC3944 #C85A65

Accessibility & contrast

On white

9.27
#7E2A32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A32
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A32#FFFFFF#000000##FFFFFF
##7E2A321.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C32
Deuteranopia (green-blind)
#544E30
Tritanopia (blue-blind)
#8A192D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2a32;
/* rgb */ color: rgb(126, 42, 50);
/* oklch */ color: oklch(41.3% 0.116 18.3);
Tailwind
colors: {
  custom: {
    50: '#a96869',
    500: '#7e2a32',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a32;
$custom-light: #a96869;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a32",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 50
  },
  "hsl": {
    "h": 354.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.1161,
    "h": 18.3
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#7E2A32
secondary
#56AEA5
accent
#DACC4E
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2A32

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

Preview Lab → · Contrast checker → · Palette generator →

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