#7E1D35#7E1D35

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

Color values

HEX#7E1D35
RGBrgb(126, 29, 53)
HSLhsl(345, 63%, 30%)
HSVhsv(345, 77%, 49%)
CMYKcmyk(0%, 77%, 57.9%, 50.6%)
CIE-LABlab(28.31, 42.57, 10.28)
CIE-LCHlch(28.31, 43.80, 13.58°)
OKLaboklab(39.87% 0.1288 0.0258)
OKLCHoklch(39.87% 0.131 11.3)
XYZxyz(9.6871, 5.5728, 3.9330)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1D35 #1D7E66
analogous
#7E1D65 #7E1D35 #7E361D
triadic
#7E1D35 #357E1D #1D357E
tetradic
#7E1D35 #657E1D #1D7E66 #361D7E
square
#7E1D35 #657E1D #1D7E66 #361D7E
split-complementary
#7E1D35 #1D7E36 #1D657E
monochromatic
#1B060B #4C1220 #7E1D35 #B0284A #D34266

Accessibility & contrast

On white

9.93
#7E1D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E1D35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1D35
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1D35#FFFFFF#000000##FFFFFF
##7E1D351.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363635
Deuteranopia (green-blind)
#4F4A33
Tritanopia (blue-blind)
#8A0127
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1d35;
/* rgb */ color: rgb(126, 29, 53);
/* oklch */ color: oklch(39.9% 0.131 11.3);
Tailwind
colors: {
  custom: {
    50: '#a9626c',
    500: '#7e1d35',
    950: '#000000',
  },
}
SCSS
$custom: #7e1d35;
$custom-light: #a9626c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1d35",
  "rgb": {
    "r": 126,
    "g": 29,
    "b": 53
  },
  "hsl": {
    "h": 345.155,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39874,
    "c": 0.13139,
    "h": 11.3
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#7E1D35
secondary
#45B197
accent
#E6BD42
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E1D35

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

Preview Lab → · Contrast checker → · Palette generator →

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