#7E1528#7E1528

#7E1528 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.138 H 17.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7E1528
RGBrgb(126, 21, 40)
HSLhsl(349, 71%, 29%)
HSVhsv(349, 83%, 49%)
CMYKcmyk(0%, 83.3%, 68.3%, 50.6%)
CIE-LABlab(27.09, 44.30, 17.38)
CIE-LCHlch(27.09, 47.59, 21.43°)
OKLaboklab(38.88% 0.1318 0.0413)
OKLCHoklch(38.88% 0.138 17.4)
XYZxyz(9.2564, 5.1266, 2.5092)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1528 #157E6B
analogous
#7E155D #7E1528 #7E3715
triadic
#7E1528 #287E15 #15287E
tetradic
#7E1528 #5D7E15 #157E6B #37157E
square
#7E1528 #5D7E15 #157E6B #37157E
split-complementary
#7E1528 #157E37 #155D7E
monochromatic
#1A0408 #4A0C17 #7E1528 #B21E39 #DD3150

Accessibility & contrast

On white

10.37
#7E1528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E1528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1528
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1528#FFFFFF#000000##FFFFFF
##7E15281.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1528;
/* rgb */ color: rgb(126, 21, 40);
/* oklch */ color: oklch(38.9% 0.138 17.4);
Tailwind
colors: {
  custom: {
    50: '#aa5f61',
    500: '#7e1528',
    950: '#000000',
  },
}
SCSS
$custom: #7e1528;
$custom-light: #aa5f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1528",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 349.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38883,
    "c": 0.13813,
    "h": 17.4
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#7E1528
secondary
#3CB39D
accent
#EECE3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7E1528

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

Preview Lab → · Contrast checker → · Palette generator →

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