#7E1E36#7E1E36

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

Color values

HEX#7E1E36
RGBrgb(126, 30, 54)
HSLhsl(345, 62%, 31%)
HSVhsv(345, 76%, 49%)
CMYKcmyk(0%, 76.2%, 57.1%, 50.6%)
CIE-LABlab(28.46, 42.28, 9.83)
CIE-LCHlch(28.46, 43.41, 13.08°)
OKLaboklab(40% 0.1281 0.0248)
OKLCHoklch(40% 0.13 10.9)
XYZxyz(9.7352, 5.6319, 4.0637)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E36 #1E7E66
analogous
#7E1E66 #7E1E36 #7E361E
triadic
#7E1E36 #367E1E #1E367E
tetradic
#7E1E36 #667E1E #1E7E66 #361E7E
square
#7E1E36 #667E1E #1E7E66 #361E7E
split-complementary
#7E1E36 #1E7E36 #1E667E
monochromatic
#1B060C #4D1221 #7E1E36 #AF2A4B #D24468

Accessibility & contrast

On white

9.88
#7E1E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1E36
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E36#FFFFFF#000000##FFFFFF
##7E1E361.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373736
Deuteranopia (green-blind)
#504A34
Tritanopia (blue-blind)
#8A0428
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e36;
/* rgb */ color: rgb(126, 30, 54);
/* oklch */ color: oklch(40.0% 0.130 10.9);
Tailwind
colors: {
  custom: {
    50: '#a9636c',
    500: '#7e1e36',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e36;
$custom-light: #a9636c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e36",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 54
  },
  "hsl": {
    "h": 345,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39997,
    "c": 0.13044,
    "h": 10.9
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#7E1E36
secondary
#47B197
accent
#E5BC43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E1E36

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

Preview Lab → · Contrast checker → · Palette generator →

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