#7D2229#7D2229

#7D2229 is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.125 H 20.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7D2229
RGBrgb(125, 34, 41)
HSLhsl(355, 57%, 31%)
HSVhsv(355, 73%, 49%)
CMYKcmyk(0%, 72.8%, 67.2%, 51%)
CIE-LABlab(28.55, 39.44, 18.53)
CIE-LCHlch(28.55, 43.58, 25.17°)
OKLaboklab(39.94% 0.1166 0.0441)
OKLCHoklch(39.94% 0.125 20.7)
XYZxyz(9.4307, 5.6655, 2.6944)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2229 #227D76
analogous
#7D2256 #7D2229 #7D4822
triadic
#7D2229 #297D22 #22297D
tetradic
#7D2229 #567D22 #227D76 #48227D
square
#7D2229 #567D22 #227D76 #48227D
split-complementary
#7D2229 #227D48 #22567D
monochromatic
#1D0809 #4D1519 #7D2229 #AD2F39 #CE4B55

Accessibility & contrast

On white

9.85
#7D2229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D2229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2229
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2229#FFFFFF#000000##FFFFFF
##7D22291.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3729
Deuteranopia (green-blind)
#524A26
Tritanopia (blue-blind)
#8A0725
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d2229;
/* rgb */ color: rgb(125, 34, 41);
/* oklch */ color: oklch(39.9% 0.125 20.7);
Tailwind
colors: {
  custom: {
    50: '#a96462',
    500: '#7d2229',
    950: '#000000',
  },
}
SCSS
$custom: #7d2229;
$custom-light: #a96462;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2229",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 355.385,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39936,
    "c": 0.12468,
    "h": 20.7
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#7D2229
secondary
#4BB0A8
accent
#E0D547
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7D2229

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

Preview Lab → · Contrast checker → · Palette generator →

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