#7E1A30#7E1A30

#7E1A30 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.5% C 0.134 H 13.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#7E1A30
RGBrgb(126, 26, 48)
HSLhsl(347, 66%, 30%)
HSVhsv(347, 79%, 49%)
CMYKcmyk(0%, 79.4%, 61.9%, 50.6%)
CIE-LABlab(27.82, 43.24, 12.97)
CIE-LCHlch(27.82, 45.15, 16.69°)
OKLaboklab(39.47% 0.1301 0.0319)
OKLCHoklch(39.47% 0.134 13.8)
XYZxyz(9.5080, 5.3892, 3.3353)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A30 #1A7E68
analogous
#7E1A62 #7E1A30 #7E361A
triadic
#7E1A30 #307E1A #1A307E
tetradic
#7E1A30 #627E1A #1A7E68 #361A7E
square
#7E1A30 #627E1A #1A7E68 #361A7E
split-complementary
#7E1A30 #1A7E36 #1A627E
monochromatic
#19050A #4B101D #7E1A30 #B12443 #D73C5E

Accessibility & contrast

On white

10.11
#7E1A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E1A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A30
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A30#FFFFFF#000000##FFFFFF
##7E1A301.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363430
Deuteranopia (green-blind)
#4F492D
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1a30;
/* rgb */ color: rgb(126, 26, 48);
/* oklch */ color: oklch(39.5% 0.134 13.8);
Tailwind
colors: {
  custom: {
    50: '#aa6168',
    500: '#7e1a30',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a30;
$custom-light: #aa6168;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a30",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 48
  },
  "hsl": {
    "h": 346.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39472,
    "c": 0.13397,
    "h": 13.8
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#7E1A30
secondary
#42B299
accent
#E9C33F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1A30

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

Preview Lab → · Contrast checker → · Palette generator →

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