#7D221E#7D221E

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

Color values

HEX#7D221E
RGBrgb(125, 34, 30)
HSLhsl(3, 61%, 30%)
HSVhsv(3, 76%, 49%)
CMYKcmyk(0%, 72.8%, 76%, 51%)
CIE-LABlab(28.38, 38.83, 25.37)
CIE-LCHlch(28.38, 46.38, 33.16°)
OKLaboklab(39.75% 0.1122 0.0573)
OKLCHoklch(39.75% 0.126 27.1)
XYZxyz(9.2649, 5.5992, 1.8209)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D221E #1E797D
analogous
#7D1E4A #7D221E #7D511E
triadic
#7D221E #1E7D22 #221E7D
tetradic
#7D221E #4A7D1E #1E797D #511E7D
square
#7D221E #4A7D1E #1E797D #511E7D
split-complementary
#7D221E #1E7D51 #1E4A7D
monochromatic
#1A0706 #4C1512 #7D221E #AE2F2A #D24943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D221E#FFFFFF#000000##FFFFFF
##7D221E1.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)
#3C361D
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#8A0222
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d221e;
/* rgb */ color: rgb(125, 34, 30);
/* oklch */ color: oklch(39.8% 0.126 27.1);
Tailwind
colors: {
  custom: {
    50: '#aa645a',
    500: '#7d221e',
    950: '#000000',
  },
}
SCSS
$custom: #7d221e;
$custom-light: #aa645a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d221e",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 2.526,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3975,
    "c": 0.126,
    "h": 27.1
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#7D221E
secondary
#46ACB0
accent
#DEE443
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D221E

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

Preview Lab → · Contrast checker → · Palette generator →

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