#7E2318#7E2318

#7E2318 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.127 H 30.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7E2318
RGBrgb(126, 35, 24)
HSLhsl(6, 68%, 29%)
HSVhsv(6, 81%, 49%)
CMYKcmyk(0%, 72.2%, 81%, 50.6%)
CIE-LABlab(28.66, 38.51, 29.35)
CIE-LCHlch(28.66, 48.42, 37.32°)
OKLaboklab(39.97% 0.1098 0.0642)
OKLCHoklch(39.97% 0.127 30.3)
XYZxyz(9.3712, 5.7050, 1.4717)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2318 #18737E
analogous
#7E1840 #7E2318 #7E5618
triadic
#7E2318 #187E23 #23187E
tetradic
#7E2318 #407E18 #18737E #56187E
square
#7E2318 #407E18 #18737E #56187E
split-complementary
#7E2318 #187E56 #18407E
monochromatic
#1A0705 #4B150E #7E2318 #B13122 #D94937

Accessibility & contrast

On white

9.81
#7E2318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E2318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2318
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2318#FFFFFF#000000##FFFFFF
##7E23181.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3716
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#8B0221
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2318;
/* rgb */ color: rgb(126, 35, 24);
/* oklch */ color: oklch(40.0% 0.127 30.3);
Tailwind
colors: {
  custom: {
    50: '#ab6456',
    500: '#7e2318',
    950: '#000000',
  },
}
SCSS
$custom: #7e2318;
$custom-light: #ab6456;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2318",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 24
  },
  "hsl": {
    "h": 6.471,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39971,
    "c": 0.12717,
    "h": 30.3
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#7E2318
secondary
#3FA6B2
accent
#D8EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2318

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

Preview Lab → · Contrast checker → · Palette generator →

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