#7E2A31#7E2A31

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

Color values

HEX#7E2A31
RGBrgb(126, 42, 49)
HSLhsl(355, 50%, 33%)
HSVhsv(355, 67%, 49%)
CMYKcmyk(0%, 66.7%, 61.1%, 50.6%)
CIE-LABlab(30.19, 36.84, 15.46)
CIE-LCHlch(30.19, 39.95, 22.77°)
OKLaboklab(41.25% 0.1098 0.0378)
OKLCHoklch(41.25% 0.116 19)
XYZxyz(9.9875, 6.3146, 3.5981)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A31 #2A7E77
analogous
#7E2A5B #7E2A31 #7E4D2A
triadic
#7E2A31 #317E2A #2A317E
tetradic
#7E2A31 #5B7E2A #2A7E77 #4D2A7E
square
#7E2A31 #5B7E2A #2A7E77 #4D2A7E
split-complementary
#7E2A31 #2A7E4D #2A5B7E
monochromatic
#220B0D #501B1F #7E2A31 #AC3943 #C85A63

Accessibility & contrast

On white

9.28
#7E2A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A31
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A31#FFFFFF#000000##FFFFFF
##7E2A311.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2a31;
/* rgb */ color: rgb(126, 42, 49);
/* oklch */ color: oklch(41.2% 0.116 19.0);
Tailwind
colors: {
  custom: {
    50: '#a96869',
    500: '#7e2a31',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a31;
$custom-light: #a96869;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a31",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 49
  },
  "hsl": {
    "h": 355,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41248,
    "c": 0.11614,
    "h": 19
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#7E2A31
secondary
#56AEA6
accent
#DACE4E
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2A31

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

Preview Lab → · Contrast checker → · Palette generator →

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