#7E1A2D#7E1A2D

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

Color values

HEX#7E1A2D
RGBrgb(126, 26, 45)
HSLhsl(349, 66%, 30%)
HSVhsv(349, 79%, 49%)
CMYKcmyk(0%, 79.4%, 64.3%, 50.6%)
CIE-LABlab(27.75, 43.04, 14.89)
CIE-LCHlch(27.75, 45.54, 19.09°)
OKLaboklab(39.4% 0.1288 0.0362)
OKLCHoklch(39.4% 0.134 15.7)
XYZxyz(9.4482, 5.3653, 3.0202)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A2D #1A7E6B
analogous
#7E1A5F #7E1A2D #7E391A
triadic
#7E1A2D #2D7E1A #1A2D7E
tetradic
#7E1A2D #5F7E1A #1A7E6B #391A7E
square
#7E1A2D #5F7E1A #1A7E6B #391A7E
split-complementary
#7E1A2D #1A7E39 #1A5F7E
monochromatic
#190509 #4B101B #7E1A2D #B1243F #D73C59

Accessibility & contrast

On white

10.13
#7E1A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A2D
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A2D#FFFFFF#000000##FFFFFF
##7E1A2D1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342D
Deuteranopia (green-blind)
#50492A
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1a2d;
/* rgb */ color: rgb(126, 26, 45);
/* oklch */ color: oklch(39.4% 0.134 15.7);
Tailwind
colors: {
  custom: {
    50: '#aa6165',
    500: '#7e1a2d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a2d;
$custom-light: #aa6165;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a2d",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 348.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39403,
    "c": 0.13382,
    "h": 15.7
  },
  "luminance": 0.05364
}

Semantic roles & 50–950 ramp

primary
#7E1A2D
secondary
#42B29D
accent
#E9C83F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7E1A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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