#7D221C#7D221C

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

Color values

HEX#7D221C
RGBrgb(125, 34, 28)
HSLhsl(4, 63%, 30%)
HSVhsv(4, 78%, 49%)
CMYKcmyk(0%, 72.8%, 77.6%, 51%)
CIE-LABlab(28.35, 38.73, 26.57)
CIE-LCHlch(28.35, 46.97, 34.45°)
OKLaboklab(39.72% 0.1115 0.0594)
OKLCHoklch(39.72% 0.126 28.1)
XYZxyz(9.2401, 5.5893, 1.6907)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D221C #1C777D
analogous
#7D1C47 #7D221C #7D521C
triadic
#7D221C #1C7D22 #221C7D
tetradic
#7D221C #477D1C #1C777D #521C7D
square
#7D221C #477D1C #1C777D #521C7D
split-complementary
#7D221C #1C7D52 #1C477D
monochromatic
#190706 #4B1411 #7D221C #AF3027 #D4493F

Accessibility & contrast

On white

9.92
#7D221C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D221C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D221C#FFFFFF#000000##FFFFFF
##7D221C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361B
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#8A0221
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d221c;
/* rgb */ color: rgb(125, 34, 28);
/* oklch */ color: oklch(39.7% 0.126 28.1);
Tailwind
colors: {
  custom: {
    50: '#aa6458',
    500: '#7d221c',
    950: '#000000',
  },
}
SCSS
$custom: #7d221c;
$custom-light: #aa6458;
$custom-dark: #000000;
JSON
{
  "hex": "#7d221c",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 3.711,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39722,
    "c": 0.12632,
    "h": 28.1
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#7D221C
secondary
#44AAB1
accent
#DCE641
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D221C

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

Preview Lab → · Contrast checker → · Palette generator →

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