#7E2A3E#7E2A3E

#7E2A3E is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.6% C 0.117 H 9.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7E2A3E
RGBrgb(126, 42, 62)
HSLhsl(346, 50%, 33%)
HSVhsv(346, 67%, 49%)
CMYKcmyk(0%, 66.7%, 50.8%, 50.6%)
CIE-LABlab(30.50, 37.98, 7.34)
CIE-LCHlch(30.50, 38.68, 10.94°)
OKLaboklab(41.58% 0.1153 0.0189)
OKLCHoklch(41.58% 0.117 9.3)
XYZxyz(10.3025, 6.4406, 5.2571)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A3E #2A7E6A
analogous
#7E2A68 #7E2A3E #7E402A
triadic
#7E2A3E #3E7E2A #2A3E7E
tetradic
#7E2A3E #687E2A #2A7E6A #402A7E
square
#7E2A3E #687E2A #2A7E6A #402A7E
split-complementary
#7E2A3E #2A7E40 #2A687E
monochromatic
#220B11 #501B27 #7E2A3E #AC3955 #C85A74

Accessibility & contrast

On white

9.18
#7E2A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A3E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A3E#FFFFFF#000000##FFFFFF
##7E2A3E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3D3E
Deuteranopia (green-blind)
#534E3C
Tritanopia (blue-blind)
#891D32
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2a3e;
/* rgb */ color: rgb(126, 42, 62);
/* oklch */ color: oklch(41.6% 0.117 9.3);
Tailwind
colors: {
  custom: {
    50: '#a86973',
    500: '#7e2a3e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a3e;
$custom-light: #a86973;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a3e",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 62
  },
  "hsl": {
    "h": 345.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41575,
    "c": 0.11686,
    "h": 9.3
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#7E2A3E
secondary
#56AE99
accent
#DAB84E
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E2A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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