#7E2A3A#7E2A3A

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

Color values

HEX#7E2A3A
RGBrgb(126, 42, 58)
HSLhsl(349, 50%, 33%)
HSVhsv(349, 67%, 49%)
CMYKcmyk(0%, 66.7%, 54%, 50.6%)
CIE-LABlab(30.40, 37.60, 9.83)
CIE-LCHlch(30.40, 38.86, 14.66°)
OKLaboklab(41.47% 0.1137 0.0249)
OKLCHoklch(41.47% 0.116 12.4)
XYZxyz(10.1967, 6.3983, 4.7002)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A3A #2A7E6E
analogous
#7E2A64 #7E2A3A #7E442A
triadic
#7E2A3A #3A7E2A #2A3A7E
tetradic
#7E2A3A #647E2A #2A7E6E #442A7E
square
#7E2A3A #647E2A #2A7E6E #442A7E
split-complementary
#7E2A3A #2A7E44 #2A647E
monochromatic
#220B10 #501B25 #7E2A3A #AC394F #C85A6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2A3A#FFFFFF#000000##FFFFFF
##7E2A3A1.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)
#3E3D3A
Deuteranopia (green-blind)
#534E38
Tritanopia (blue-blind)
#8A1C30
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2a3a;
/* rgb */ color: rgb(126, 42, 58);
/* oklch */ color: oklch(41.5% 0.116 12.4);
Tailwind
colors: {
  custom: {
    50: '#a86970',
    500: '#7e2a3a',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a3a;
$custom-light: #a86970;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a3a",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 58
  },
  "hsl": {
    "h": 348.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41466,
    "c": 0.11635,
    "h": 12.4
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#7E2A3A
secondary
#56AE9D
accent
#DABF4E
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E2A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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