#7E2A2D#7E2A2D

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

Color values

HEX#7E2A2D
RGBrgb(126, 42, 45)
HSLhsl(358, 50%, 33%)
HSVhsv(358, 67%, 49%)
CMYKcmyk(0%, 66.7%, 64.3%, 50.6%)
CIE-LABlab(30.11, 36.54, 17.96)
CIE-LCHlch(30.11, 40.72, 26.18°)
OKLaboklab(41.16% 0.1081 0.0432)
OKLCHoklch(41.16% 0.116 21.8)
XYZxyz(9.9068, 6.2824, 3.1731)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A2D #2A7E7B
analogous
#7E2A57 #7E2A2D #7E512A
triadic
#7E2A2D #2D7E2A #2A2D7E
tetradic
#7E2A2D #577E2A #2A7E7B #512A7E
square
#7E2A2D #577E2A #2A7E7B #512A7E
split-complementary
#7E2A2D #2A7E51 #2A577E
monochromatic
#220B0C #501B1D #7E2A2D #AC393D #C85A5E

Accessibility & contrast

On white

9.31
#7E2A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A2D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A2D#FFFFFF#000000##FFFFFF
##7E2A2D1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2C
Deuteranopia (green-blind)
#554E2B
Tritanopia (blue-blind)
#8A182C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2a2d;
/* rgb */ color: rgb(126, 42, 45);
/* oklch */ color: oklch(41.2% 0.116 21.8);
Tailwind
colors: {
  custom: {
    50: '#a96865',
    500: '#7e2a2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a2d;
$custom-light: #a96865;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a2d",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 45
  },
  "hsl": {
    "h": 357.857,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.11643,
    "h": 21.8
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#7E2A2D
secondary
#56AEAB
accent
#DAD54E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E2A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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