#7E2124#7E2124

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

Color values

HEX#7E2124
RGBrgb(126, 33, 36)
HSLhsl(358, 58%, 31%)
HSVhsv(358, 74%, 49%)
CMYKcmyk(0%, 73.8%, 71.4%, 50.6%)
CIE-LABlab(28.52, 39.89, 21.78)
CIE-LCHlch(28.52, 45.45, 28.63°)
OKLaboklab(39.92% 0.1168 0.0506)
OKLCHoklch(39.92% 0.127 23.4)
XYZxyz(9.4675, 5.6521, 2.2612)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2124 #217E7B
analogous
#7E2152 #7E2124 #7E4C21
triadic
#7E2124 #247E21 #21247E
tetradic
#7E2124 #527E21 #217E7B #4C217E
square
#7E2124 #527E21 #217E7B #4C217E
split-complementary
#7E2124 #217E4C #21527E
monochromatic
#1D0808 #4E1416 #7E2124 #AE2E32 #D04A4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2124#FFFFFF#000000##FFFFFF
##7E21241.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)
#3B3723
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#8B0123
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2124;
/* rgb */ color: rgb(126, 33, 36);
/* oklch */ color: oklch(39.9% 0.127 23.4);
Tailwind
colors: {
  custom: {
    50: '#aa635e',
    500: '#7e2124',
    950: '#000000',
  },
}
SCSS
$custom: #7e2124;
$custom-light: #aa635e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2124",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 36
  },
  "hsl": {
    "h": 358.065,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39919,
    "c": 0.12729,
    "h": 23.4
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#7E2124
secondary
#4AB1AD
accent
#E2DD46
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2124

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

Preview Lab → · Contrast checker → · Palette generator →

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