#7E182C#7E182C

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

Color values

HEX#7E182C
RGBrgb(126, 24, 44)
HSLhsl(348, 68%, 29%)
HSVhsv(348, 81%, 49%)
CMYKcmyk(0%, 81%, 65.1%, 50.6%)
CIE-LABlab(27.50, 43.63, 15.23)
CIE-LCHlch(27.50, 46.21, 19.24°)
OKLaboklab(39.21% 0.1305 0.0368)
OKLCHoklch(39.21% 0.136 15.8)
XYZxyz(9.3864, 5.2722, 2.9058)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E182C #187E6A
analogous
#7E185F #7E182C #7E3718
triadic
#7E182C #2C7E18 #182C7E
tetradic
#7E182C #5F7E18 #187E6A #37187E
square
#7E182C #5F7E18 #187E6A #37187E
split-complementary
#7E182C #187E37 #185F7E
monochromatic
#1A0509 #4B0E1A #7E182C #B1223E #D93757

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E182C#FFFFFF#000000##FFFFFF
##7E182C1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e182c;
/* rgb */ color: rgb(126, 24, 44);
/* oklch */ color: oklch(39.2% 0.136 15.8);
Tailwind
colors: {
  custom: {
    50: '#aa6064',
    500: '#7e182c',
    950: '#000000',
  },
}
SCSS
$custom: #7e182c;
$custom-light: #aa6064;
$custom-dark: #000000;
JSON
{
  "hex": "#7e182c",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 348.235,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39208,
    "c": 0.13563,
    "h": 15.8
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#7E182C
secondary
#3FB29C
accent
#EBC93D
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E182C

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

Preview Lab → · Contrast checker → · Palette generator →

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