#7E2027#7E2027

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

Color values

HEX#7E2027
RGBrgb(126, 32, 39)
HSLhsl(356, 59%, 31%)
HSVhsv(356, 75%, 49%)
CMYKcmyk(0%, 74.6%, 69%, 50.6%)
CIE-LABlab(28.42, 40.46, 19.72)
CIE-LCHlch(28.42, 45.01, 25.98°)
OKLaboklab(39.87% 0.1193 0.0465)
OKLCHoklch(39.87% 0.128 21.3)
XYZxyz(9.4879, 5.6165, 2.5036)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2027 #207E77
analogous
#7E2056 #7E2027 #7E4820
triadic
#7E2027 #277E20 #20277E
tetradic
#7E2027 #567E20 #207E77 #48207E
square
#7E2027 #567E20 #207E77 #48207E
split-complementary
#7E2027 #207E48 #20567E
monochromatic
#1C0709 #4D1418 #7E2027 #AF2C36 #D04852

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2027#FFFFFF#000000##FFFFFF
##7E20271.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)
#3A3627
Deuteranopia (green-blind)
#524A24
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2027;
/* rgb */ color: rgb(126, 32, 39);
/* oklch */ color: oklch(39.9% 0.128 21.3);
Tailwind
colors: {
  custom: {
    50: '#aa6361',
    500: '#7e2027',
    950: '#000000',
  },
}
SCSS
$custom: #7e2027;
$custom-light: #aa6361;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2027",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 39
  },
  "hsl": {
    "h": 355.532,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39865,
    "c": 0.12803,
    "h": 21.3
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#7E2027
secondary
#49B1A9
accent
#E3D745
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2027

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

Preview Lab → · Contrast checker → · Palette generator →

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