#7E2D34#7E2D34

#7E2D34 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.112 H 18.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7E2D34
RGBrgb(126, 45, 52)
HSLhsl(355, 47%, 34%)
HSVhsv(355, 64%, 49%)
CMYKcmyk(0%, 64.3%, 58.7%, 50.6%)
CIE-LABlab(30.79, 35.65, 14.30)
CIE-LCHlch(30.79, 38.41, 21.85°)
OKLaboklab(41.71% 0.1066 0.0353)
OKLCHoklch(41.71% 0.112 18.3)
XYZxyz(10.1633, 6.5616, 3.9795)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D34 #2D7E77
analogous
#7E2D5C #7E2D34 #7E4E2D
triadic
#7E2D34 #347E2D #2D347E
tetradic
#7E2D34 #5C7E2D #2D7E77 #4E2D7E
square
#7E2D34 #5C7E2D #2D7E77 #4E2D7E
split-complementary
#7E2D34 #2D7E4E #2D5C7E
monochromatic
#240D0F #511D21 #7E2D34 #AB3D47 #C65F68

Accessibility & contrast

On white

9.08
#7E2D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D34
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D34#FFFFFF#000000##FFFFFF
##7E2D341.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413E34
Deuteranopia (green-blind)
#554F32
Tritanopia (blue-blind)
#8A1E30
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d34;
/* rgb */ color: rgb(126, 45, 52);
/* oklch */ color: oklch(41.7% 0.112 18.3);
Tailwind
colors: {
  custom: {
    50: '#a86a6b',
    500: '#7e2d34',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d34;
$custom-light: #a86a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d34",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 52
  },
  "hsl": {
    "h": 354.815,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.11227,
    "h": 18.3
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#7E2D34
secondary
#5AACA5
accent
#D7CB51
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7E2D34

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

Preview Lab → · Contrast checker → · Palette generator →

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