#7E2A2F#7E2A2F

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

Color values

HEX#7E2A2F
RGBrgb(126, 42, 47)
HSLhsl(356, 50%, 33%)
HSVhsv(356, 67%, 49%)
CMYKcmyk(0%, 66.7%, 62.7%, 50.6%)
CIE-LABlab(30.15, 36.69, 16.71)
CIE-LCHlch(30.15, 40.31, 24.49°)
OKLaboklab(41.21% 0.109 0.0405)
OKLCHoklch(41.21% 0.116 20.4)
XYZxyz(9.9462, 6.2981, 3.3807)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A2F #2A7E79
analogous
#7E2A59 #7E2A2F #7E4F2A
triadic
#7E2A2F #2F7E2A #2A2F7E
tetradic
#7E2A2F #597E2A #2A7E79 #4F2A7E
square
#7E2A2F #597E2A #2A7E79 #4F2A7E
split-complementary
#7E2A2F #2A7E4F #2A597E
monochromatic
#220B0D #501B1E #7E2A2F #AC3940 #C85A61

Accessibility & contrast

On white

9.29
#7E2A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A2F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A2F#FFFFFF#000000##FFFFFF
##7E2A2F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C2F
Deuteranopia (green-blind)
#554E2D
Tritanopia (blue-blind)
#8A182C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2a2f;
/* rgb */ color: rgb(126, 42, 47);
/* oklch */ color: oklch(41.2% 0.116 20.4);
Tailwind
colors: {
  custom: {
    50: '#a96867',
    500: '#7e2a2f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a2f;
$custom-light: #a96867;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a2f",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 356.429,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41205,
    "c": 0.11626,
    "h": 20.4
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#7E2A2F
secondary
#56AEA8
accent
#DAD14E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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