#7D221B#7D221B

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

Color values

HEX#7D221B
RGBrgb(125, 34, 27)
HSLhsl(4, 64%, 30%)
HSVhsv(4, 78%, 49%)
CMYKcmyk(0%, 72.8%, 78.4%, 51%)
CIE-LABlab(28.34, 38.69, 27.17)
CIE-LCHlch(28.34, 47.28, 35.08°)
OKLaboklab(39.71% 0.1111 0.0605)
OKLCHoklch(39.71% 0.126 28.6)
XYZxyz(9.2284, 5.5846, 1.6287)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D221B #1B767D
analogous
#7D1B45 #7D221B #7D531B
triadic
#7D221B #1B7D22 #221B7D
tetradic
#7D221B #457D1B #1B767D #531B7D
square
#7D221B #457D1B #1B767D #531B7D
split-complementary
#7D221B #1B7D53 #1B457D
monochromatic
#190705 #4B1410 #7D221B #AF3026 #D5483D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D221B#FFFFFF#000000##FFFFFF
##7D221B1.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)
#3C3619
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#8A0121
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d221b;
/* rgb */ color: rgb(125, 34, 27);
/* oklch */ color: oklch(39.7% 0.126 28.6);
Tailwind
colors: {
  custom: {
    50: '#aa6458',
    500: '#7d221b',
    950: '#000000',
  },
}
SCSS
$custom: #7d221b;
$custom-light: #aa6458;
$custom-dark: #000000;
JSON
{
  "hex": "#7d221b",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 27
  },
  "hsl": {
    "h": 4.286,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39709,
    "c": 0.12649,
    "h": 28.6
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#7D221B
secondary
#43A9B1
accent
#DCE740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D221B

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

Preview Lab → · Contrast checker → · Palette generator →

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