#7E182B#7E182B

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

Color values

HEX#7E182B
RGBrgb(126, 24, 43)
HSLhsl(349, 68%, 29%)
HSVhsv(349, 81%, 49%)
CMYKcmyk(0%, 81%, 65.9%, 50.6%)
CIE-LABlab(27.48, 43.56, 15.87)
CIE-LCHlch(27.48, 46.36, 20.02°)
OKLaboklab(39.19% 0.1301 0.0382)
OKLCHoklch(39.19% 0.136 16.4)
XYZxyz(9.3679, 5.2647, 2.8080)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E182B #187E6B
analogous
#7E185E #7E182B #7E3818
triadic
#7E182B #2B7E18 #182B7E
tetradic
#7E182B #5E7E18 #187E6B #38187E
square
#7E182B #5E7E18 #187E6B #38187E
split-complementary
#7E182B #187E38 #185E7E
monochromatic
#1A0509 #4B0E19 #7E182B #B1223D #D93756

Accessibility & contrast

On white

10.23
#7E182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E182B
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E182B#FFFFFF#000000##FFFFFF
##7E182B1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36332B
Deuteranopia (green-blind)
#4F4928
Tritanopia (blue-blind)
#8B0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e182b;
/* rgb */ color: rgb(126, 24, 43);
/* oklch */ color: oklch(39.2% 0.136 16.4);
Tailwind
colors: {
  custom: {
    50: '#aa6064',
    500: '#7e182b',
    950: '#000000',
  },
}
SCSS
$custom: #7e182b;
$custom-light: #aa6064;
$custom-dark: #000000;
JSON
{
  "hex": "#7e182b",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 348.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39186,
    "c": 0.13561,
    "h": 16.4
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#7E182B
secondary
#3FB29D
accent
#EBCA3D
background
#FBF5F5
surface
#F6EAEA
border
#D0C6C6
text
#110505
muted
#807979

Preview Lab

Preview with #7E182B

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

Preview Lab → · Contrast checker → · Palette generator →

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