#7E2525#7E2525

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

Color values

HEX#7E2525
RGBrgb(126, 37, 37)
HSLhsl(0, 55%, 32%)
HSVhsv(0, 71%, 49%)
CMYKcmyk(0%, 70.6%, 70.6%, 50.6%)
CIE-LABlab(29.14, 38.28, 21.90)
CIE-LCHlch(29.14, 44.10, 29.77°)
OKLaboklab(40.39% 0.1119 0.051)
OKLCHoklch(40.39% 0.123 24.5)
XYZxyz(9.6007, 5.8937, 2.3820)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2525 #257E7E
analogous
#7E2552 #7E2525 #7E5225
triadic
#7E2525 #257E25 #25257E
tetradic
#7E2525 #527E25 #257E7E #52257E
square
#7E2525 #527E25 #257E7E #52257E
split-complementary
#7E2525 #257E52 #25527E
monochromatic
#1F0909 #4F1717 #7E2525 #AD3333 #CC5151

Accessibility & contrast

On white

9.64
#7E2525 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2525
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2525#FFFFFF#000000##FFFFFF
##7E25251.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3924
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#8B0C26
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2525;
/* rgb */ color: rgb(126, 37, 37);
/* oklch */ color: oklch(40.4% 0.123 24.5);
Tailwind
colors: {
  custom: {
    50: '#aa655f',
    500: '#7e2525',
    950: '#000000',
  },
}
SCSS
$custom: #7e2525;
$custom-light: #aa655f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2525",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 37
  },
  "hsl": {
    "h": 0,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40391,
    "c": 0.123,
    "h": 24.5
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#7E2525
secondary
#4FB0B0
accent
#DEDE4A
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2525

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

Preview Lab → · Contrast checker → · Palette generator →

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