#7E1E27#7E1E27

#7E1E27 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.130 H 20.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7E1E27
RGBrgb(126, 30, 39)
HSLhsl(354, 62%, 31%)
HSVhsv(354, 76%, 49%)
CMYKcmyk(0%, 76.2%, 69%, 50.6%)
CIE-LABlab(28.15, 41.23, 19.37)
CIE-LCHlch(28.15, 45.55, 25.17°)
OKLaboklab(39.66% 0.1218 0.0457)
OKLCHoklch(39.66% 0.13 20.6)
XYZxyz(9.4357, 5.5121, 2.4862)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E27 #1E7E75
analogous
#7E1E57 #7E1E27 #7E451E
triadic
#7E1E27 #277E1E #1E277E
tetradic
#7E1E27 #577E1E #1E7E75 #451E7E
square
#7E1E27 #577E1E #1E7E75 #451E7E
split-complementary
#7E1E27 #1E7E45 #1E577E
monochromatic
#1B0608 #4D1218 #7E1E27 #AF2A36 #D24451

Accessibility & contrast

On white

9.99
#7E1E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7E1E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E27
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E27#FFFFFF#000000##FFFFFF
##7E1E271.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393527
Deuteranopia (green-blind)
#514A24
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1e27;
/* rgb */ color: rgb(126, 30, 39);
/* oklch */ color: oklch(39.7% 0.130 20.6);
Tailwind
colors: {
  custom: {
    50: '#aa6261',
    500: '#7e1e27',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e27;
$custom-light: #aa6261;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e27",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 354.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39659,
    "c": 0.13004,
    "h": 20.6
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#7E1E27
secondary
#47B1A7
accent
#E5D543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1E27

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

Preview Lab → · Contrast checker → · Palette generator →

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