#7E2219#7E2219

#7E2219 is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.128 H 29.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7E2219
RGBrgb(126, 34, 25)
HSLhsl(5, 67%, 30%)
HSVhsv(5, 80%, 49%)
CMYKcmyk(0%, 73%, 80.2%, 50.6%)
CIE-LABlab(28.52, 38.96, 28.62)
CIE-LCHlch(28.52, 48.34, 36.30°)
OKLaboklab(39.87% 0.1114 0.063)
OKLCHoklch(39.87% 0.128 29.5)
XYZxyz(9.3528, 5.6513, 1.5179)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2219 #19757E
analogous
#7E1942 #7E2219 #7E5519
triadic
#7E2219 #197E22 #22197E
tetradic
#7E2219 #427E19 #19757E #55197E
square
#7E2219 #427E19 #19757E #55197E
split-complementary
#7E2219 #197E55 #19427E
monochromatic
#1A0705 #4B140F #7E2219 #B13023 #D8483A

Accessibility & contrast

On white

9.86
#7E2219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E2219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2219
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2219#FFFFFF#000000##FFFFFF
##7E22191.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3617
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#8B0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2219;
/* rgb */ color: rgb(126, 34, 25);
/* oklch */ color: oklch(39.9% 0.128 29.5);
Tailwind
colors: {
  custom: {
    50: '#ab6456',
    500: '#7e2219',
    950: '#000000',
  },
}
SCSS
$custom: #7e2219;
$custom-light: #ab6456;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2219",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 25
  },
  "hsl": {
    "h": 5.347,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39869,
    "c": 0.12795,
    "h": 29.5
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#7E2219
secondary
#41A8B2
accent
#DAEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2219

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

Preview Lab → · Contrast checker → · Palette generator →

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