#7E182F#7E182F

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

Color values

HEX#7E182F
RGBrgb(126, 24, 47)
HSLhsl(346, 68%, 29%)
HSVhsv(346, 81%, 49%)
CMYKcmyk(0%, 81%, 62.7%, 50.6%)
CIE-LABlab(27.56, 43.83, 13.30)
CIE-LCHlch(27.56, 45.80, 16.88°)
OKLaboklab(39.28% 0.1318 0.0326)
OKLCHoklch(39.28% 0.136 13.9)
XYZxyz(9.4449, 5.2955, 3.2136)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E182F #187E67
analogous
#7E1862 #7E182F #7E3418
triadic
#7E182F #2F7E18 #182F7E
tetradic
#7E182F #627E18 #187E67 #34187E
square
#7E182F #627E18 #187E67 #34187E
split-complementary
#7E182F #187E34 #18627E
monochromatic
#1A050A #4B0E1C #7E182F #B12242 #D9375C

Accessibility & contrast

On white

10.20
#7E182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E182F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E182F#FFFFFF#000000##FFFFFF
##7E182F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e182f;
/* rgb */ color: rgb(126, 24, 47);
/* oklch */ color: oklch(39.3% 0.136 13.9);
Tailwind
colors: {
  custom: {
    50: '#aa6067',
    500: '#7e182f',
    950: '#000000',
  },
}
SCSS
$custom: #7e182f;
$custom-light: #aa6067;
$custom-dark: #000000;
JSON
{
  "hex": "#7e182f",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 346.471,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39276,
    "c": 0.13577,
    "h": 13.9
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#7E182F
secondary
#3FB298
accent
#EBC43D
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E182F

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

Preview Lab → · Contrast checker → · Palette generator →

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