#7E1730#7E1730

#7E1730 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.137 H 13.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#7E1730
RGBrgb(126, 23, 48)
HSLhsl(345, 69%, 29%)
HSVhsv(345, 82%, 49%)
CMYKcmyk(0%, 81.7%, 61.9%, 50.6%)
CIE-LABlab(27.47, 44.21, 12.51)
CIE-LCHlch(27.47, 45.95, 15.79°)
OKLaboklab(39.22% 0.1332 0.0308)
OKLCHoklch(39.22% 0.137 13)
XYZxyz(9.4451, 5.2632, 3.3143)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1730 #177E65
analogous
#7E1764 #7E1730 #7E3217
triadic
#7E1730 #307E17 #17307E
tetradic
#7E1730 #647E17 #177E65 #32177E
square
#7E1730 #647E17 #177E65 #32177E
split-complementary
#7E1730 #177E32 #17647E
monochromatic
#1A050A #4A0E1C #7E1730 #B22044 #DA355D

Accessibility & contrast

On white

10.23
#7E1730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1730
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1730#FFFFFF#000000##FFFFFF
##7E17301.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343330
Deuteranopia (green-blind)
#4F482D
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1730;
/* rgb */ color: rgb(126, 23, 48);
/* oklch */ color: oklch(39.2% 0.137 13.0);
Tailwind
colors: {
  custom: {
    50: '#aa6068',
    500: '#7e1730',
    950: '#000000',
  },
}
SCSS
$custom: #7e1730;
$custom-light: #aa6068;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1730",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 48
  },
  "hsl": {
    "h": 345.437,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39217,
    "c": 0.13675,
    "h": 13
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#7E1730
secondary
#3EB396
accent
#ECC13C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1730

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

Preview Lab → · Contrast checker → · Palette generator →

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