#7E212D#7E212D

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

Color values

HEX#7E212D
RGBrgb(126, 33, 45)
HSLhsl(352, 58%, 31%)
HSVhsv(352, 74%, 49%)
CMYKcmyk(0%, 73.8%, 64.3%, 50.6%)
CIE-LABlab(28.68, 40.45, 16.11)
CIE-LCHlch(28.68, 43.54, 21.71°)
OKLaboklab(40.09% 0.1206 0.039)
OKLCHoklch(40.09% 0.127 17.9)
XYZxyz(9.6227, 5.7142, 3.0784)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E212D #217E72
analogous
#7E215B #7E212D #7E4321
triadic
#7E212D #2D7E21 #212D7E
tetradic
#7E212D #5B7E21 #217E72 #43217E
square
#7E212D #5B7E21 #217E72 #43217E
split-complementary
#7E212D #217E43 #215B7E
monochromatic
#1D080A #4E141C #7E212D #AE2E3E #D04A5B

Accessibility & contrast

On white

9.80
#7E212D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E212D
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E212D#FFFFFF#000000##FFFFFF
##7E212D1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372D
Deuteranopia (green-blind)
#524B2A
Tritanopia (blue-blind)
#8A0626
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e212d;
/* rgb */ color: rgb(126, 33, 45);
/* oklch */ color: oklch(40.1% 0.127 17.9);
Tailwind
colors: {
  custom: {
    50: '#a96465',
    500: '#7e212d',
    950: '#000000',
  },
}
SCSS
$custom: #7e212d;
$custom-light: #a96465;
$custom-dark: #000000;
JSON
{
  "hex": "#7e212d",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 45
  },
  "hsl": {
    "h": 352.258,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40092,
    "c": 0.12669,
    "h": 17.9
  },
  "luminance": 0.05713
}

Semantic roles & 50–950 ramp

primary
#7E212D
secondary
#4AB1A3
accent
#E2CE46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E212D

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

Preview Lab → · Contrast checker → · Palette generator →

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