#7D221A#7D221A

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

Color values

HEX#7D221A
RGBrgb(125, 34, 26)
HSLhsl(5, 66%, 30%)
HSVhsv(5, 79%, 49%)
CMYKcmyk(0%, 72.8%, 79.2%, 51%)
CIE-LABlab(28.33, 38.65, 27.76)
CIE-LCHlch(28.33, 47.58, 35.69°)
OKLaboklab(39.7% 0.1108 0.0615)
OKLCHoklch(39.7% 0.127 29)
XYZxyz(9.2170, 5.5800, 1.5688)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D221A #1A757D
analogous
#7D1A44 #7D221A #7D531A
triadic
#7D221A #1A7D22 #221A7D
tetradic
#7D221A #447D1A #1A757D #531A7D
square
#7D221A #447D1A #1A757D #531A7D
split-complementary
#7D221A #1A7D53 #1A447D
monochromatic
#190705 #4A140F #7D221A #B03025 #D6483B

Accessibility & contrast

On white

9.93
#7D221A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D221A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D221A#FFFFFF#000000##FFFFFF
##7D221A1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3618
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#8A0121
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d221a;
/* rgb */ color: rgb(125, 34, 26);
/* oklch */ color: oklch(39.7% 0.127 29.0);
Tailwind
colors: {
  custom: {
    50: '#aa6457',
    500: '#7d221a',
    950: '#000000',
  },
}
SCSS
$custom: #7d221a;
$custom-light: #aa6457;
$custom-dark: #000000;
JSON
{
  "hex": "#7d221a",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 26
  },
  "hsl": {
    "h": 4.848,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39696,
    "c": 0.12666,
    "h": 29
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#7D221A
secondary
#42A8B1
accent
#DBE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D221A

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

Preview Lab → · Contrast checker → · Palette generator →

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