#7E2E34#7E2E34

#7E2E34 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.9% C 0.111 H 18.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#7E2E34
RGBrgb(126, 46, 52)
HSLhsl(356, 47%, 34%)
HSVhsv(356, 63%, 49%)
CMYKcmyk(0%, 63.5%, 58.7%, 50.6%)
CIE-LABlab(30.97, 35.16, 14.54)
CIE-LCHlch(30.97, 38.05, 22.46°)
OKLaboklab(41.85% 0.105 0.0359)
OKLCHoklch(41.85% 0.111 18.8)
XYZxyz(10.2019, 6.6388, 3.9923)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E34 #2E7E78
analogous
#7E2E5C #7E2E34 #7E502E
triadic
#7E2E34 #347E2E #2E347E
tetradic
#7E2E34 #5C7E2E #2E7E78 #502E7E
square
#7E2E34 #5C7E2E #2E7E78 #502E7E
split-complementary
#7E2E34 #2E7E50 #2E5C7E
monochromatic
#240D0F #511E21 #7E2E34 #AB3E47 #C56169

Accessibility & contrast

On white

9.02
#7E2E34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E2E34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E34
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E34#FFFFFF#000000##FFFFFF
##7E2E341.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413E34
Deuteranopia (green-blind)
#564F32
Tritanopia (blue-blind)
#8A2031
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2e34;
/* rgb */ color: rgb(126, 46, 52);
/* oklch */ color: oklch(41.9% 0.111 18.8);
Tailwind
colors: {
  custom: {
    50: '#a86b6b',
    500: '#7e2e34',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e34;
$custom-light: #a86b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e34",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 52
  },
  "hsl": {
    "h": 355.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41851,
    "c": 0.11099,
    "h": 18.8
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#7E2E34
secondary
#5CACA6
accent
#D6CC52
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100706
muted
#7F7A7A

Preview Lab

Preview with #7E2E34

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

Preview Lab → · Contrast checker → · Palette generator →

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