#7C212F#7C212F

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

Color values

HEX#7C212F
RGBrgb(124, 33, 47)
HSLhsl(351, 58%, 31%)
HSVhsv(351, 73%, 49%)
CMYKcmyk(0%, 73.4%, 62.1%, 51.4%)
CIE-LABlab(28.33, 39.92, 14.24)
CIE-LCHlch(28.33, 42.38, 19.63°)
OKLaboklab(39.77% 0.1195 0.0349)
OKLCHoklch(39.77% 0.125 16.3)
XYZxyz(9.3700, 5.5794, 3.2723)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C212F #217C6E
analogous
#7C215C #7C212F #7C4021
triadic
#7C212F #2F7C21 #212F7C
tetradic
#7C212F #5C7C21 #217C6E #40217C
square
#7C212F #5C7C21 #217C6E #40217C
split-complementary
#7C212F #217C40 #215C7C
monochromatic
#1B070A #4C141D #7C212F #AC2E41 #CF495D

Accessibility & contrast

On white

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

On black

2.12
#7C212F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C212F#FFFFFF#000000##FFFFFF
##7C212F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39372F
Deuteranopia (green-blind)
#504A2D
Tritanopia (blue-blind)
#880827
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c212f;
/* rgb */ color: rgb(124, 33, 47);
/* oklch */ color: oklch(39.8% 0.124 16.3);
Tailwind
colors: {
  custom: {
    50: '#a86367',
    500: '#7c212f',
    950: '#000000',
  },
}
SCSS
$custom: #7c212f;
$custom-light: #a86367;
$custom-dark: #000000;
JSON
{
  "hex": "#7c212f",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 350.769,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39769,
    "c": 0.1245,
    "h": 16.3
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#7C212F
secondary
#4AAF9F
accent
#E1C947
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7C212F

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

Preview Lab → · Contrast checker → · Palette generator →

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