#7E1D28#7E1D28

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

Color values

HEX#7E1D28
RGBrgb(126, 29, 40)
HSLhsl(353, 63%, 30%)
HSVhsv(353, 77%, 49%)
CMYKcmyk(0%, 77%, 68.3%, 50.6%)
CIE-LABlab(28.03, 41.66, 18.57)
CIE-LCHlch(28.03, 45.61, 24.03°)
OKLaboklab(39.58% 0.1234 0.044)
OKLCHoklch(39.58% 0.131 19.6)
XYZxyz(9.4276, 5.4690, 2.5663)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D28 #1D7E73
analogous
#7E1D58 #7E1D28 #7E421D
triadic
#7E1D28 #287E1D #1D287E
tetradic
#7E1D28 #587E1D #1D7E73 #421D7E
square
#7E1D28 #587E1D #1D7E73 #421D7E
split-complementary
#7E1D28 #1D7E42 #1D587E
monochromatic
#1B0608 #4C1218 #7E1D28 #B02838 #D34252

Accessibility & contrast

On white

10.03
#7E1D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1D28
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D28#FFFFFF#000000##FFFFFF
##7E1D281.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1d28;
/* rgb */ color: rgb(126, 29, 40);
/* oklch */ color: oklch(39.6% 0.131 19.6);
Tailwind
colors: {
  custom: {
    50: '#aa6261',
    500: '#7e1d28',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d28;
$custom-light: #aa6261;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d28",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 40
  },
  "hsl": {
    "h": 353.196,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39579,
    "c": 0.13097,
    "h": 19.6
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#7E1D28
secondary
#45B1A5
accent
#E6D342
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110505
muted
#807A79

Preview Lab

Preview with #7E1D28

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

Preview Lab → · Contrast checker → · Palette generator →

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