#7D212C#7D212C

#7D212C is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.126 H 18.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7D212C
RGBrgb(125, 33, 44)
HSLhsl(353, 58%, 31%)
HSVhsv(353, 74%, 49%)
CMYKcmyk(0%, 73.6%, 64.8%, 51%)
CIE-LABlab(28.46, 40.05, 16.44)
CIE-LCHlch(28.46, 43.29, 22.33°)
OKLaboklab(39.89% 0.1192 0.0397)
OKLCHoklch(39.89% 0.126 18.4)
XYZxyz(9.4569, 5.6309, 2.9713)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D212C #217D72
analogous
#7D215A #7D212C #7D4421
triadic
#7D212C #2C7D21 #212C7D
tetradic
#7D212C #5A7D21 #217D72 #44217D
square
#7D212C #5A7D21 #217D72 #44217D
split-complementary
#7D212C #217D44 #215A7D
monochromatic
#1C070A #4D141B #7D212C #AD2E3D #CF4959

Accessibility & contrast

On white

9.88
#7D212C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D212C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D212C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D212C#FFFFFF#000000##FFFFFF
##7D212C1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372C
Deuteranopia (green-blind)
#514A29
Tritanopia (blue-blind)
#890626
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d212c;
/* rgb */ color: rgb(125, 33, 44);
/* oklch */ color: oklch(39.9% 0.126 18.4);
Tailwind
colors: {
  custom: {
    50: '#a96465',
    500: '#7d212c',
    950: '#000000',
  },
}
SCSS
$custom: #7d212c;
$custom-light: #a96465;
$custom-dark: #000000;
JSON
{
  "hex": "#7d212c",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 44
  },
  "hsl": {
    "h": 352.826,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39887,
    "c": 0.12562,
    "h": 18.4
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#7D212C
secondary
#4AB0A4
accent
#E1CF46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7D212C

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

Preview Lab → · Contrast checker → · Palette generator →

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