#7D221F#7D221F

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

Color values

HEX#7D221F
RGBrgb(125, 34, 31)
HSLhsl(2, 60%, 31%)
HSVhsv(2, 75%, 49%)
CMYKcmyk(0%, 72.8%, 75.2%, 51%)
CIE-LABlab(28.39, 38.88, 24.76)
CIE-LCHlch(28.39, 46.09, 32.49°)
OKLaboklab(39.76% 0.1126 0.0562)
OKLCHoklch(39.76% 0.126 26.5)
XYZxyz(9.2778, 5.6043, 1.8893)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D221F #1F7A7D
analogous
#7D1F4B #7D221F #7D511F
triadic
#7D221F #1F7D22 #221F7D
tetradic
#7D221F #4B7D1F #1F7A7D #511F7D
square
#7D221F #4B7D1F #1F7A7D #511F7D
split-complementary
#7D221F #1F7D51 #1F4B7D
monochromatic
#1B0707 #4C1513 #7D221F #AE2F2B #D14A45

Accessibility & contrast

On white

9.90
#7D221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D221F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D221F#FFFFFF#000000##FFFFFF
##7D221F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361E
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#8A0322
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d221f;
/* rgb */ color: rgb(125, 34, 31);
/* oklch */ color: oklch(39.8% 0.126 26.5);
Tailwind
colors: {
  custom: {
    50: '#aa645b',
    500: '#7d221f',
    950: '#000000',
  },
}
SCSS
$custom: #7d221f;
$custom-light: #aa645b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d221f",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 1.915,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39764,
    "c": 0.12584,
    "h": 26.5
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#7D221F
secondary
#48ADB0
accent
#DEE344
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7D221F

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

Preview Lab → · Contrast checker → · Palette generator →

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