#7E1E33#7E1E33

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

Color values

HEX#7E1E33
RGBrgb(126, 30, 51)
HSLhsl(347, 62%, 31%)
HSVhsv(347, 76%, 49%)
CMYKcmyk(0%, 76.2%, 59.5%, 50.6%)
CIE-LABlab(28.39, 42.05, 11.73)
CIE-LCHlch(28.39, 43.65, 15.59°)
OKLaboklab(39.92% 0.1268 0.0292)
OKLCHoklch(39.92% 0.13 13)
XYZxyz(9.6669, 5.6046, 3.7041)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E33 #1E7E69
analogous
#7E1E63 #7E1E33 #7E391E
triadic
#7E1E33 #337E1E #1E337E
tetradic
#7E1E33 #637E1E #1E7E69 #391E7E
square
#7E1E33 #637E1E #1E7E69 #391E7E
split-complementary
#7E1E33 #1E7E39 #1E637E
monochromatic
#1B060B #4D121F #7E1E33 #AF2A47 #D24463

Accessibility & contrast

On white

9.90
#7E1E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1E33
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1E33#FFFFFF#000000##FFFFFF
##7E1E331.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373633
Deuteranopia (green-blind)
#504A31
Tritanopia (blue-blind)
#8A0227
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e33;
/* rgb */ color: rgb(126, 30, 51);
/* oklch */ color: oklch(39.9% 0.130 13.0);
Tailwind
colors: {
  custom: {
    50: '#a9626a',
    500: '#7e1e33',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e33;
$custom-light: #a9626a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e33",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 51
  },
  "hsl": {
    "h": 346.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39921,
    "c": 0.13013,
    "h": 13
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#7E1E33
secondary
#47B19A
accent
#E5C143
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E1E33

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

Preview Lab → · Contrast checker → · Palette generator →

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