#7D212D#7D212D

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

Color values

HEX#7D212D
RGBrgb(125, 33, 45)
HSLhsl(352, 58%, 31%)
HSVhsv(352, 74%, 49%)
CMYKcmyk(0%, 73.6%, 64%, 51%)
CIE-LABlab(28.48, 40.11, 15.81)
CIE-LCHlch(28.48, 43.12, 21.51°)
OKLaboklab(39.91% 0.1196 0.0383)
OKLCHoklch(39.91% 0.126 17.8)
XYZxyz(9.4759, 5.6385, 3.0715)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D212D #217D71
analogous
#7D215B #7D212D #7D4321
triadic
#7D212D #2D7D21 #212D7D
tetradic
#7D212D #5B7D21 #217D71 #43217D
square
#7D212D #5B7D21 #217D71 #43217D
split-complementary
#7D212D #217D43 #215B7D
monochromatic
#1C070A #4D141C #7D212D #AD2E3E #CF495B

Accessibility & contrast

On white

9.87
#7D212D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D212D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D212D#FFFFFF#000000##FFFFFF
##7D212D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d212d;
/* rgb */ color: rgb(125, 33, 45);
/* oklch */ color: oklch(39.9% 0.126 17.8);
Tailwind
colors: {
  custom: {
    50: '#a96465',
    500: '#7d212d',
    950: '#000000',
  },
}
SCSS
$custom: #7d212d;
$custom-light: #a96465;
$custom-dark: #000000;
JSON
{
  "hex": "#7d212d",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 45
  },
  "hsl": {
    "h": 352.174,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39908,
    "c": 0.1256,
    "h": 17.8
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#7D212D
secondary
#4AB0A3
accent
#E1CD46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7D212D

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

Preview Lab → · Contrast checker → · Palette generator →

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