#7E1E35#7E1E35

#7E1E35 is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.130 H 11.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7E1E35
RGBrgb(126, 30, 53)
HSLhsl(346, 62%, 31%)
HSVhsv(346, 76%, 49%)
CMYKcmyk(0%, 76.2%, 57.9%, 50.6%)
CIE-LABlab(28.44, 42.20, 10.46)
CIE-LCHlch(28.44, 43.48, 13.92°)
OKLaboklab(39.97% 0.1277 0.0263)
OKLCHoklch(39.97% 0.13 11.6)
XYZxyz(9.7120, 5.6226, 3.9413)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E35 #1E7E67
analogous
#7E1E65 #7E1E35 #7E371E
triadic
#7E1E35 #357E1E #1E357E
tetradic
#7E1E35 #657E1E #1E7E67 #371E7E
square
#7E1E35 #657E1E #1E7E67 #371E7E
split-complementary
#7E1E35 #1E7E37 #1E657E
monochromatic
#1B060B #4D1220 #7E1E35 #AF2A4A #D24466

Accessibility & contrast

On white

9.89
#7E1E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1E35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E35
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E35#FFFFFF#000000##FFFFFF
##7E1E351.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373735
Deuteranopia (green-blind)
#504A33
Tritanopia (blue-blind)
#8A0328
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e35;
/* rgb */ color: rgb(126, 30, 53);
/* oklch */ color: oklch(40.0% 0.130 11.6);
Tailwind
colors: {
  custom: {
    50: '#a9636c',
    500: '#7e1e35',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e35;
$custom-light: #a9636c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e35",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 53
  },
  "hsl": {
    "h": 345.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39971,
    "c": 0.13032,
    "h": 11.6
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#7E1E35
secondary
#47B198
accent
#E5BE43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E1E35

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

Preview Lab → · Contrast checker → · Palette generator →

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