#7C212E#7C212E

#7C212E is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.7% C 0.124 H 16.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7C212E
RGBrgb(124, 33, 46)
HSLhsl(351, 58%, 31%)
HSVhsv(351, 73%, 49%)
CMYKcmyk(0%, 73.4%, 62.9%, 51.4%)
CIE-LABlab(28.30, 39.85, 14.88)
CIE-LCHlch(28.30, 42.53, 20.47°)
OKLaboklab(39.75% 0.1191 0.0363)
OKLCHoklch(39.75% 0.124 16.9)
XYZxyz(9.3501, 5.5714, 3.1673)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C212E #217C6F
analogous
#7C215B #7C212E #7C4121
triadic
#7C212E #2E7C21 #212E7C
tetradic
#7C212E #5B7C21 #217C6F #41217C
square
#7C212E #5B7C21 #217C6F #41217C
split-complementary
#7C212E #217C41 #215B7C
monochromatic
#1B070A #4C141C #7C212E #AC2E40 #CF495C

Accessibility & contrast

On white

9.93
#7C212E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7C212E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C212E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C212E#FFFFFF#000000##FFFFFF
##7C212E1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39372E
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#880826
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c212e;
/* rgb */ color: rgb(124, 33, 46);
/* oklch */ color: oklch(39.7% 0.124 16.9);
Tailwind
colors: {
  custom: {
    50: '#a86366',
    500: '#7c212e',
    950: '#000000',
  },
}
SCSS
$custom: #7c212e;
$custom-light: #a86366;
$custom-dark: #000000;
JSON
{
  "hex": "#7c212e",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 351.429,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39747,
    "c": 0.12449,
    "h": 16.9
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#7C212E
secondary
#4AAFA0
accent
#E1CB47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7C212E

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

Preview Lab → · Contrast checker → · Palette generator →

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