#7E2528#7E2528

#7E2528 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.123 H 22.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7E2528
RGBrgb(126, 37, 40)
HSLhsl(358, 55%, 32%)
HSVhsv(358, 71%, 49%)
CMYKcmyk(0%, 70.6%, 68.3%, 50.6%)
CIE-LABlab(29.19, 38.46, 20.03)
CIE-LCHlch(29.19, 43.36, 27.51°)
OKLaboklab(40.45% 0.1132 0.0473)
OKLCHoklch(40.45% 0.123 22.7)
XYZxyz(9.6498, 5.9133, 2.6403)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2528 #257E7B
analogous
#7E2554 #7E2528 #7E4F25
triadic
#7E2528 #287E25 #25287E
tetradic
#7E2528 #547E25 #257E7B #4F257E
square
#7E2528 #547E25 #257E7B #4F257E
split-complementary
#7E2528 #257E4F #25547E
monochromatic
#1F090A #4F1719 #7E2528 #AD3337 #CC5156

Accessibility & contrast

On white

9.62
#7E2528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E2528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2528
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2528#FFFFFF#000000##FFFFFF
##7E25281.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3927
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#8B0D27
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2528;
/* rgb */ color: rgb(126, 37, 40);
/* oklch */ color: oklch(40.4% 0.123 22.7);
Tailwind
colors: {
  custom: {
    50: '#aa6662',
    500: '#7e2528',
    950: '#000000',
  },
}
SCSS
$custom: #7e2528;
$custom-light: #aa6662;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2528",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 40
  },
  "hsl": {
    "h": 357.978,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40445,
    "c": 0.12264,
    "h": 22.7
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#7E2528
secondary
#4FB0AD
accent
#DED94A
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2528

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

Preview Lab → · Contrast checker → · Palette generator →

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