#7E2129#7E2129

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

Color values

HEX#7E2129
RGBrgb(126, 33, 41)
HSLhsl(355, 58%, 31%)
HSVhsv(355, 74%, 49%)
CMYKcmyk(0%, 73.8%, 67.5%, 50.6%)
CIE-LABlab(28.60, 40.19, 18.64)
CIE-LCHlch(28.60, 44.30, 24.88°)
OKLaboklab(40.01% 0.1189 0.0443)
OKLCHoklch(40.01% 0.127 20.4)
XYZxyz(9.5493, 5.6848, 2.6918)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2129 #217E76
analogous
#7E2157 #7E2129 #7E4721
triadic
#7E2129 #297E21 #21297E
tetradic
#7E2129 #577E21 #217E76 #47217E
square
#7E2129 #577E21 #217E76 #47217E
split-complementary
#7E2129 #217E47 #21577E
monochromatic
#1D0809 #4E1419 #7E2129 #AE2E39 #D04A55

Accessibility & contrast

On white

9.83
#7E2129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2129
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2129#FFFFFF#000000##FFFFFF
##7E21291.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3729
Deuteranopia (green-blind)
#524B26
Tritanopia (blue-blind)
#8B0425
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2129;
/* rgb */ color: rgb(126, 33, 41);
/* oklch */ color: oklch(40.0% 0.127 20.4);
Tailwind
colors: {
  custom: {
    50: '#aa6462',
    500: '#7e2129',
    950: '#000000',
  },
}
SCSS
$custom: #7e2129;
$custom-light: #aa6462;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2129",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 354.839,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4001,
    "c": 0.12685,
    "h": 20.4
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#7E2129
secondary
#4AB1A8
accent
#E2D446
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2129

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

Preview Lab → · Contrast checker → · Palette generator →

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