#7D212E#7D212E

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

Color values

HEX#7D212E
RGBrgb(125, 33, 46)
HSLhsl(352, 58%, 31%)
HSVhsv(352, 74%, 49%)
CMYKcmyk(0%, 73.6%, 63.2%, 51%)
CIE-LABlab(28.50, 40.18, 15.17)
CIE-LCHlch(28.50, 42.95, 20.69°)
OKLaboklab(39.93% 0.12 0.0369)
OKLCHoklch(39.93% 0.126 17.1)
XYZxyz(9.4954, 5.6463, 3.1741)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D212E #217D70
analogous
#7D215C #7D212E #7D4221
triadic
#7D212E #2E7D21 #212E7D
tetradic
#7D212E #5C7D21 #217D70 #42217D
square
#7D212E #5C7D21 #217D70 #42217D
split-complementary
#7D212E #217D42 #215C7D
monochromatic
#1C070A #4D141C #7D212E #AD2E40 #CF495C

Accessibility & contrast

On white

9.86
#7D212E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D212E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D212E#FFFFFF#000000##FFFFFF
##7D212E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372E
Deuteranopia (green-blind)
#514A2C
Tritanopia (blue-blind)
#890726
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d212e;
/* rgb */ color: rgb(125, 33, 46);
/* oklch */ color: oklch(39.9% 0.126 17.1);
Tailwind
colors: {
  custom: {
    50: '#a96466',
    500: '#7d212e',
    950: '#000000',
  },
}
SCSS
$custom: #7d212e;
$custom-light: #a96466;
$custom-dark: #000000;
JSON
{
  "hex": "#7d212e",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 351.522,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3993,
    "c": 0.12559,
    "h": 17.1
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#7D212E
secondary
#4AB0A1
accent
#E1CC46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D212E

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

Preview Lab → · Contrast checker → · Palette generator →

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