#7E2028#7E2028

#7E2028 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.128 H 20.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7E2028
RGBrgb(126, 32, 40)
HSLhsl(355, 59%, 31%)
HSVhsv(355, 75%, 49%)
CMYKcmyk(0%, 74.6%, 68.3%, 50.6%)
CIE-LABlab(28.44, 40.52, 19.09)
CIE-LCHlch(28.44, 44.79, 25.22°)
OKLaboklab(39.88% 0.1197 0.0452)
OKLCHoklch(39.88% 0.128 20.7)
XYZxyz(9.5047, 5.6232, 2.5920)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2028 #207E76
analogous
#7E2057 #7E2028 #7E4720
triadic
#7E2028 #287E20 #20287E
tetradic
#7E2028 #577E20 #207E76 #47207E
square
#7E2028 #577E20 #207E76 #47207E
split-complementary
#7E2028 #207E47 #20577E
monochromatic
#1C0709 #4D1419 #7E2028 #AF2C37 #D04854

Accessibility & contrast

On white

9.89
#7E2028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E2028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2028
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2028#FFFFFF#000000##FFFFFF
##7E20281.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3628
Deuteranopia (green-blind)
#524A25
Tritanopia (blue-blind)
#8B0124
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2028;
/* rgb */ color: rgb(126, 32, 40);
/* oklch */ color: oklch(39.9% 0.128 20.7);
Tailwind
colors: {
  custom: {
    50: '#aa6361',
    500: '#7e2028',
    950: '#000000',
  },
}
SCSS
$custom: #7e2028;
$custom-light: #aa6361;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2028",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 354.894,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39884,
    "c": 0.12796,
    "h": 20.7
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#7E2028
secondary
#49B1A8
accent
#E3D545
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2028

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

Preview Lab → · Contrast checker → · Palette generator →

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