#7E1D27#7E1D27

#7E1D27 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.131 H 20.2°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7E1D27
RGBrgb(126, 29, 39)
HSLhsl(354, 63%, 30%)
HSVhsv(354, 77%, 49%)
CMYKcmyk(0%, 77%, 69%, 50.6%)
CIE-LABlab(28.01, 41.60, 19.21)
CIE-LCHlch(28.01, 45.82, 24.78°)
OKLaboklab(39.56% 0.1229 0.0453)
OKLCHoklch(39.56% 0.131 20.2)
XYZxyz(9.4108, 5.4622, 2.4779)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D27 #1D7E74
analogous
#7E1D58 #7E1D27 #7E431D
triadic
#7E1D27 #277E1D #1D277E
tetradic
#7E1D27 #587E1D #1D7E74 #431D7E
square
#7E1D27 #587E1D #1D7E74 #431D7E
split-complementary
#7E1D27 #1D7E43 #1D587E
monochromatic
#1B0608 #4C1218 #7E1D27 #B02836 #D34251

Accessibility & contrast

On white

10.04
#7E1D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D27
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D27#FFFFFF#000000##FFFFFF
##7E1D271.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.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: #7e1d27;
/* rgb */ color: rgb(126, 29, 39);
/* oklch */ color: oklch(39.6% 0.131 20.2);
Tailwind
colors: {
  custom: {
    50: '#aa6261',
    500: '#7e1d27',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d27;
$custom-light: #aa6261;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d27",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 39
  },
  "hsl": {
    "h": 353.814,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3956,
    "c": 0.13102,
    "h": 20.2
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#7E1D27
secondary
#45B1A6
accent
#E6D542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1D27

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

Preview Lab → · Contrast checker → · Palette generator →

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