#7D212F#7D212F

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

Color values

HEX#7D212F
RGBrgb(125, 33, 47)
HSLhsl(351, 58%, 31%)
HSVhsv(351, 74%, 49%)
CMYKcmyk(0%, 73.6%, 62.4%, 51%)
CIE-LABlab(28.52, 40.26, 14.54)
CIE-LCHlch(28.52, 42.80, 19.86°)
OKLaboklab(39.95% 0.1205 0.0355)
OKLCHoklch(39.95% 0.126 16.4)
XYZxyz(9.5153, 5.6543, 3.2791)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D212F #217D6F
analogous
#7D215D #7D212F #7D4121
triadic
#7D212F #2F7D21 #212F7D
tetradic
#7D212F #5D7D21 #217D6F #41217D
square
#7D212F #5D7D21 #217D6F #41217D
split-complementary
#7D212F #217D41 #215D7D
monochromatic
#1C070B #4D141D #7D212F #AD2E41 #CF495E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D212F#FFFFFF#000000##FFFFFF
##7D212F1.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)
#39372F
Deuteranopia (green-blind)
#514A2D
Tritanopia (blue-blind)
#890727
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d212f;
/* rgb */ color: rgb(125, 33, 47);
/* oklch */ color: oklch(40.0% 0.126 16.4);
Tailwind
colors: {
  custom: {
    50: '#a86467',
    500: '#7d212f',
    950: '#000000',
  },
}
SCSS
$custom: #7d212f;
$custom-light: #a86467;
$custom-dark: #000000;
JSON
{
  "hex": "#7d212f",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 350.87,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.12559,
    "h": 16.4
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#7D212F
secondary
#4AB0A0
accent
#E1CA46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D212F

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

Preview Lab → · Contrast checker → · Palette generator →

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