#7E2123#7E2123

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

Color values

HEX#7E2123
RGBrgb(126, 33, 35)
HSLhsl(359, 58%, 31%)
HSVhsv(359, 74%, 49%)
CMYKcmyk(0%, 73.8%, 72.2%, 50.6%)
CIE-LABlab(28.50, 39.84, 22.40)
CIE-LCHlch(28.50, 45.70, 29.35°)
OKLaboklab(39.9% 0.1164 0.0518)
OKLCHoklch(39.9% 0.127 24)
XYZxyz(9.4524, 5.6461, 2.1819)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2123 #217E7C
analogous
#7E2151 #7E2123 #7E4D21
triadic
#7E2123 #237E21 #21237E
tetradic
#7E2123 #517E21 #217E7C #4D217E
square
#7E2123 #517E21 #217E7C #4D217E
split-complementary
#7E2123 #217E4D #21517E
monochromatic
#1D0808 #4E1416 #7E2123 #AE2E30 #D04A4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2123#FFFFFF#000000##FFFFFF
##7E21231.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)
#3B3622
Deuteranopia (green-blind)
#534B20
Tritanopia (blue-blind)
#8B0123
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2123;
/* rgb */ color: rgb(126, 33, 35);
/* oklch */ color: oklch(39.9% 0.127 24.0);
Tailwind
colors: {
  custom: {
    50: '#aa635e',
    500: '#7e2123',
    950: '#000000',
  },
}
SCSS
$custom: #7e2123;
$custom-light: #aa635e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2123",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 35
  },
  "hsl": {
    "h": 358.71,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.12741,
    "h": 24
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#7E2123
secondary
#4AB1AF
accent
#E2DE46
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2123

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

Preview Lab → · Contrast checker → · Palette generator →

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