#7E1627#7E1627

#7E1627 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.137 H 18.2°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7E1627
RGBrgb(126, 22, 39)
HSLhsl(350, 70%, 29%)
HSVhsv(350, 83%, 49%)
CMYKcmyk(0%, 82.5%, 69%, 50.6%)
CIE-LABlab(27.18, 43.94, 18.16)
CIE-LCHlch(27.18, 47.55, 22.45°)
OKLaboklab(38.94% 0.1304 0.043)
OKLCHoklch(38.94% 0.137 18.2)
XYZxyz(9.2583, 5.1574, 2.4270)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1627 #167E6D
analogous
#7E165B #7E1627 #7E3916
triadic
#7E1627 #277E16 #16277E
tetradic
#7E1627 #5B7E16 #167E6D #39167E
square
#7E1627 #5B7E16 #167E6D #39167E
split-complementary
#7E1627 #167E39 #165B7E
monochromatic
#1A0508 #4A0D17 #7E1627 #B21F37 #DB334F

Accessibility & contrast

On white

10.34
#7E1627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1627
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1627#FFFFFF#000000##FFFFFF
##7E16271.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353227
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1627;
/* rgb */ color: rgb(126, 22, 39);
/* oklch */ color: oklch(38.9% 0.137 18.2);
Tailwind
colors: {
  custom: {
    50: '#aa5f60',
    500: '#7e1627',
    950: '#000000',
  },
}
SCSS
$custom: #7e1627;
$custom-light: #aa5f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1627",
  "rgb": {
    "r": 126,
    "g": 22,
    "b": 39
  },
  "hsl": {
    "h": 350.192,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38941,
    "c": 0.13732,
    "h": 18.2
  },
  "luminance": 0.05156
}

Semantic roles & 50–950 ramp

primary
#7E1627
secondary
#3DB3A0
accent
#EDD03B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7E1627

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

Preview Lab → · Contrast checker → · Palette generator →

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