#7E212C#7E212C

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

Color values

HEX#7E212C
RGBrgb(126, 33, 44)
HSLhsl(353, 58%, 31%)
HSVhsv(353, 74%, 49%)
CMYKcmyk(0%, 73.8%, 65.1%, 50.6%)
CIE-LABlab(28.66, 40.38, 16.74)
CIE-LCHlch(28.66, 43.71, 22.52°)
OKLaboklab(40.07% 0.1201 0.0403)
OKLCHoklch(40.07% 0.127 18.6)
XYZxyz(9.6036, 5.7066, 2.9782)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E212C #217E73
analogous
#7E215A #7E212C #7E4421
triadic
#7E212C #2C7E21 #212C7E
tetradic
#7E212C #5A7E21 #217E73 #44217E
square
#7E212C #5A7E21 #217E73 #44217E
split-complementary
#7E212C #217E44 #215A7E
monochromatic
#1D080A #4E141B #7E212C #AE2E3D #D04A5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E212C#FFFFFF#000000##FFFFFF
##7E212C1.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)
#3A372C
Deuteranopia (green-blind)
#524B29
Tritanopia (blue-blind)
#8B0526
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e212c;
/* rgb */ color: rgb(126, 33, 44);
/* oklch */ color: oklch(40.1% 0.127 18.6);
Tailwind
colors: {
  custom: {
    50: '#aa6465',
    500: '#7e212c',
    950: '#000000',
  },
}
SCSS
$custom: #7e212c;
$custom-light: #aa6465;
$custom-dark: #000000;
JSON
{
  "hex": "#7e212c",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 44
  },
  "hsl": {
    "h": 352.903,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40071,
    "c": 0.12672,
    "h": 18.6
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#7E212C
secondary
#4AB1A5
accent
#E2CF46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E212C

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

Preview Lab → · Contrast checker → · Palette generator →

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