#7E212E#7E212E

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

Color values

HEX#7E212E
RGBrgb(126, 33, 46)
HSLhsl(352, 58%, 31%)
HSVhsv(352, 74%, 49%)
CMYKcmyk(0%, 73.8%, 63.5%, 50.6%)
CIE-LABlab(28.70, 40.52, 15.47)
CIE-LCHlch(28.70, 43.37, 20.90°)
OKLaboklab(40.11% 0.121 0.0376)
OKLCHoklch(40.11% 0.127 17.3)
XYZxyz(9.6422, 5.7220, 3.1810)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E212E #217E71
analogous
#7E215C #7E212E #7E4221
triadic
#7E212E #2E7E21 #212E7E
tetradic
#7E212E #5C7E21 #217E71 #42217E
square
#7E212E #5C7E21 #217E71 #42217E
split-complementary
#7E212E #217E42 #215C7E
monochromatic
#1D080B #4E141C #7E212E #AE2E40 #D04A5D

Accessibility & contrast

On white

9.79
#7E212E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E212E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E212E#FFFFFF#000000##FFFFFF
##7E212E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e212e;
/* rgb */ color: rgb(126, 33, 46);
/* oklch */ color: oklch(40.1% 0.127 17.3);
Tailwind
colors: {
  custom: {
    50: '#a96466',
    500: '#7e212e',
    950: '#000000',
  },
}
SCSS
$custom: #7e212e;
$custom-light: #a96466;
$custom-dark: #000000;
JSON
{
  "hex": "#7e212e",
  "rgb": {
    "r": 126,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 351.613,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40114,
    "c": 0.12669,
    "h": 17.3
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#7E212E
secondary
#4AB1A2
accent
#E2CC46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E212E

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

Preview Lab → · Contrast checker → · Palette generator →

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