#7E182E#7E182E

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

Color values

HEX#7E182E
RGBrgb(126, 24, 46)
HSLhsl(347, 68%, 29%)
HSVhsv(347, 81%, 49%)
CMYKcmyk(0%, 81%, 63.5%, 50.6%)
CIE-LABlab(27.54, 43.76, 13.94)
CIE-LCHlch(27.54, 45.93, 17.67°)
OKLaboklab(39.25% 0.1314 0.034)
OKLCHoklch(39.25% 0.136 14.5)
XYZxyz(9.4249, 5.2876, 3.1086)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E182E #187E68
analogous
#7E1861 #7E182E #7E3518
triadic
#7E182E #2E7E18 #182E7E
tetradic
#7E182E #617E18 #187E68 #35187E
square
#7E182E #617E18 #187E68 #35187E
split-complementary
#7E182E #187E35 #18617E
monochromatic
#1A0509 #4B0E1B #7E182E #B12241 #D9375A

Accessibility & contrast

On white

10.21
#7E182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E182E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E182E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E182E#FFFFFF#000000##FFFFFF
##7E182E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35342E
Deuteranopia (green-blind)
#4F492B
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e182e;
/* rgb */ color: rgb(126, 24, 46);
/* oklch */ color: oklch(39.3% 0.136 14.5);
Tailwind
colors: {
  custom: {
    50: '#aa6066',
    500: '#7e182e',
    950: '#000000',
  },
}
SCSS
$custom: #7e182e;
$custom-light: #aa6066;
$custom-dark: #000000;
JSON
{
  "hex": "#7e182e",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 347.059,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39253,
    "c": 0.13572,
    "h": 14.5
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#7E182E
secondary
#3FB29A
accent
#EBC53D
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E182E

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

Preview Lab → · Contrast checker → · Palette generator →

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