#7E2724#7E2724

#7E2724 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.121 H 26.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7E2724
RGBrgb(126, 39, 36)
HSLhsl(2, 56%, 32%)
HSVhsv(2, 71%, 49%)
CMYKcmyk(0%, 69%, 71.4%, 50.6%)
CIE-LABlab(29.45, 37.34, 22.90)
CIE-LCHlch(29.45, 43.80, 31.53°)
OKLaboklab(40.62% 0.1087 0.0531)
OKLCHoklch(40.62% 0.121 26)
XYZxyz(9.6492, 6.0154, 2.3217)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2724 #247B7E
analogous
#7E244E #7E2724 #7E5424
triadic
#7E2724 #247E27 #27247E
tetradic
#7E2724 #4E7E24 #247B7E #54247E
square
#7E2724 #4E7E24 #247B7E #54247E
split-complementary
#7E2724 #247E54 #244E7E
monochromatic
#1F0A09 #4E1816 #7E2724 #AE3632 #CD5450

Accessibility & contrast

On white

9.53
#7E2724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E2724 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2724
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2724#FFFFFF#000000##FFFFFF
##7E27241.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3923
Deuteranopia (green-blind)
#554C21
Tritanopia (blue-blind)
#8B1027
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2724;
/* rgb */ color: rgb(126, 39, 36);
/* oklch */ color: oklch(40.6% 0.121 26.0);
Tailwind
colors: {
  custom: {
    50: '#aa665f',
    500: '#7e2724',
    950: '#000000',
  },
}
SCSS
$custom: #7e2724;
$custom-light: #aa665f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2724",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 36
  },
  "hsl": {
    "h": 2,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40617,
    "c": 0.12099,
    "h": 26
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#7E2724
secondary
#4EADB0
accent
#DADF49
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2724

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

Preview Lab → · Contrast checker → · Palette generator →

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