#7E2018#7E2018

#7E2018 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.6% C 0.130 H 29.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7E2018
RGBrgb(126, 32, 24)
HSLhsl(5, 68%, 29%)
HSVhsv(5, 81%, 49%)
CMYKcmyk(0%, 74.6%, 81%, 50.6%)
CIE-LABlab(28.21, 39.73, 28.89)
CIE-LCHlch(28.21, 49.12, 36.02°)
OKLaboklab(39.64% 0.1136 0.0632)
OKLCHoklch(39.64% 0.13 29.1)
XYZxyz(9.2867, 5.5360, 1.4435)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2018 #18767E
analogous
#7E1843 #7E2018 #7E5318
triadic
#7E2018 #187E20 #20187E
tetradic
#7E2018 #437E18 #18767E #53187E
square
#7E2018 #437E18 #18767E #53187E
split-complementary
#7E2018 #187E53 #18437E
monochromatic
#1A0705 #4B130E #7E2018 #B12D22 #D94437

Accessibility & contrast

On white

9.97
#7E2018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7E2018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2018
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2018#FFFFFF#000000##FFFFFF
##7E20181.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3516
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2018;
/* rgb */ color: rgb(126, 32, 24);
/* oklch */ color: oklch(39.6% 0.130 29.1);
Tailwind
colors: {
  custom: {
    50: '#ab6355',
    500: '#7e2018',
    950: '#000000',
  },
}
SCSS
$custom: #7e2018;
$custom-light: #ab6355;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2018",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 4.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39638,
    "c": 0.12999,
    "h": 29.1
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#7E2018
secondary
#3FA9B2
accent
#DDEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2018

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

Preview Lab → · Contrast checker → · Palette generator →

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