#7E1E30#7E1E30

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

Color values

HEX#7E1E30
RGBrgb(126, 30, 48)
HSLhsl(349, 62%, 31%)
HSVhsv(349, 76%, 49%)
CMYKcmyk(0%, 76.2%, 61.9%, 50.6%)
CIE-LABlab(28.32, 41.82, 13.65)
CIE-LCHlch(28.32, 43.99, 18.07°)
OKLaboklab(39.85% 0.1255 0.0335)
OKLCHoklch(39.85% 0.13 14.9)
XYZxyz(9.6029, 5.5790, 3.3669)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1E30 #1E7E6C
analogous
#7E1E60 #7E1E30 #7E3C1E
triadic
#7E1E30 #307E1E #1E307E
tetradic
#7E1E30 #607E1E #1E7E6C #3C1E7E
square
#7E1E30 #607E1E #1E7E6C #3C1E7E
split-complementary
#7E1E30 #1E7E3C #1E607E
monochromatic
#1B060A #4D121D #7E1E30 #AF2A43 #D2445F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E1E30#FFFFFF#000000##FFFFFF
##7E1E301.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383630
Deuteranopia (green-blind)
#504A2D
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1e30;
/* rgb */ color: rgb(126, 30, 48);
/* oklch */ color: oklch(39.8% 0.130 14.9);
Tailwind
colors: {
  custom: {
    50: '#a96268',
    500: '#7e1e30',
    950: '#000000',
  },
}
SCSS
$custom: #7e1e30;
$custom-light: #a96268;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1e30",
  "rgb": {
    "r": 126,
    "g": 30,
    "b": 48
  },
  "hsl": {
    "h": 348.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39848,
    "c": 0.12993,
    "h": 14.9
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#7E1E30
secondary
#47B19D
accent
#E5C643
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E1E30

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

Preview Lab → · Contrast checker → · Palette generator →

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