#7E182A#7E182A

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

Color values

HEX#7E182A
RGBrgb(126, 24, 42)
HSLhsl(349, 68%, 29%)
HSVhsv(349, 81%, 49%)
CMYKcmyk(0%, 81%, 66.7%, 50.6%)
CIE-LABlab(27.46, 43.50, 16.51)
CIE-LCHlch(27.46, 46.53, 20.79°)
OKLaboklab(39.17% 0.1297 0.0396)
OKLCHoklch(39.17% 0.136 17)
XYZxyz(9.3497, 5.2575, 2.7125)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E182A #187E6C
analogous
#7E185D #7E182A #7E3918
triadic
#7E182A #2A7E18 #182A7E
tetradic
#7E182A #5D7E18 #187E6C #39187E
square
#7E182A #5D7E18 #187E6C #39187E
split-complementary
#7E182A #187E39 #185D7E
monochromatic
#1A0509 #4B0E19 #7E182A #B1223B #D93754

Accessibility & contrast

On white

10.24
#7E182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E182A
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E182A#FFFFFF#000000##FFFFFF
##7E182A1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36332A
Deuteranopia (green-blind)
#504827
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e182a;
/* rgb */ color: rgb(126, 24, 42);
/* oklch */ color: oklch(39.2% 0.136 17.0);
Tailwind
colors: {
  custom: {
    50: '#aa6063',
    500: '#7e182a',
    950: '#000000',
  },
}
SCSS
$custom: #7e182a;
$custom-light: #aa6063;
$custom-dark: #000000;
JSON
{
  "hex": "#7e182a",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 349.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39165,
    "c": 0.1356,
    "h": 17
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

primary
#7E182A
secondary
#3FB29E
accent
#EBCC3D
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E182A

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

Preview Lab → · Contrast checker → · Palette generator →

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