#7D221D#7D221D

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

Color values

HEX#7D221D
RGBrgb(125, 34, 29)
HSLhsl(3, 62%, 30%)
HSVhsv(3, 77%, 49%)
CMYKcmyk(0%, 72.8%, 76.8%, 51%)
CIE-LABlab(28.36, 38.78, 25.97)
CIE-LCHlch(28.36, 46.67, 33.81°)
OKLaboklab(39.74% 0.1118 0.0584)
OKLCHoklch(39.74% 0.126 27.6)
XYZxyz(9.2523, 5.5941, 1.7548)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D221D #1D787D
analogous
#7D1D48 #7D221D #7D521D
triadic
#7D221D #1D7D22 #221D7D
tetradic
#7D221D #487D1D #1D787D #521D7D
square
#7D221D #487D1D #1D787D #521D7D
split-complementary
#7D221D #1D7D52 #1D487D
monochromatic
#1A0706 #4B1411 #7D221D #AF3029 #D34941

Accessibility & contrast

On white

9.91
#7D221D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D221D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D221D#FFFFFF#000000##FFFFFF
##7D221D1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361C
Deuteranopia (green-blind)
#534A1A
Tritanopia (blue-blind)
#8A0222
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d221d;
/* rgb */ color: rgb(125, 34, 29);
/* oklch */ color: oklch(39.7% 0.126 27.6);
Tailwind
colors: {
  custom: {
    50: '#aa6459',
    500: '#7d221d',
    950: '#000000',
  },
}
SCSS
$custom: #7d221d;
$custom-light: #aa6459;
$custom-dark: #000000;
JSON
{
  "hex": "#7d221d",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 29
  },
  "hsl": {
    "h": 3.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39736,
    "c": 0.12615,
    "h": 27.6
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#7D221D
secondary
#45ABB1
accent
#DDE542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D221D

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

Preview Lab → · Contrast checker → · Palette generator →

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