#7C212D#7C212D

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

Color values

HEX#7C212D
RGBrgb(124, 33, 45)
HSLhsl(352, 58%, 31%)
HSVhsv(352, 73%, 49%)
CMYKcmyk(0%, 73.4%, 63.7%, 51.4%)
CIE-LABlab(28.28, 39.78, 15.51)
CIE-LCHlch(28.28, 42.69, 21.31°)
OKLaboklab(39.73% 0.1187 0.0377)
OKLCHoklch(39.73% 0.124 17.6)
XYZxyz(9.3306, 5.5636, 3.0647)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C212D #217C70
analogous
#7C215A #7C212D #7C4221
triadic
#7C212D #2D7C21 #212D7C
tetradic
#7C212D #5A7C21 #217C70 #42217C
square
#7C212D #5A7C21 #217C70 #42217C
split-complementary
#7C212D #217C42 #215A7C
monochromatic
#1B070A #4C141B #7C212D #AC2E3F #CF495A

Accessibility & contrast

On white

9.94
#7C212D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C212D
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C212D#FFFFFF#000000##FFFFFF
##7C212D1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39372D
Deuteranopia (green-blind)
#504A2B
Tritanopia (blue-blind)
#880726
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c212d;
/* rgb */ color: rgb(124, 33, 45);
/* oklch */ color: oklch(39.7% 0.124 17.6);
Tailwind
colors: {
  custom: {
    50: '#a86365',
    500: '#7c212d',
    950: '#000000',
  },
}
SCSS
$custom: #7c212d;
$custom-light: #a86365;
$custom-dark: #000000;
JSON
{
  "hex": "#7c212d",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 45
  },
  "hsl": {
    "h": 352.088,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39725,
    "c": 0.12449,
    "h": 17.6
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#7C212D
secondary
#4AAFA2
accent
#E1CD47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7C212D

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

Preview Lab → · Contrast checker → · Palette generator →

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