#7E182D#7E182D

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

Color values

HEX#7E182D
RGBrgb(126, 24, 45)
HSLhsl(348, 68%, 29%)
HSVhsv(348, 81%, 49%)
CMYKcmyk(0%, 81%, 64.3%, 50.6%)
CIE-LABlab(27.52, 43.69, 14.58)
CIE-LCHlch(27.52, 46.06, 18.46°)
OKLaboklab(39.23% 0.131 0.0355)
OKLCHoklch(39.23% 0.136 15.1)
XYZxyz(9.4055, 5.2798, 3.0060)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E182D #187E69
analogous
#7E1860 #7E182D #7E3618
triadic
#7E182D #2D7E18 #182D7E
tetradic
#7E182D #607E18 #187E69 #36187E
square
#7E182D #607E18 #187E69 #36187E
split-complementary
#7E182D #187E36 #18607E
monochromatic
#1A0509 #4B0E1B #7E182D #B1223F #D93759

Accessibility & contrast

On white

10.22
#7E182D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E182D
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E182D#FFFFFF#000000##FFFFFF
##7E182D1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332D
Deuteranopia (green-blind)
#4F492A
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e182d;
/* rgb */ color: rgb(126, 24, 45);
/* oklch */ color: oklch(39.2% 0.136 15.1);
Tailwind
colors: {
  custom: {
    50: '#aa6065',
    500: '#7e182d',
    950: '#000000',
  },
}
SCSS
$custom: #7e182d;
$custom-light: #aa6065;
$custom-dark: #000000;
JSON
{
  "hex": "#7e182d",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 45
  },
  "hsl": {
    "h": 347.647,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3923,
    "c": 0.13567,
    "h": 15.1
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#7E182D
secondary
#3FB29B
accent
#EBC73D
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E182D

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

Preview Lab → · Contrast checker → · Palette generator →

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