#7D2226#7D2226

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

Color values

HEX#7D2226
RGBrgb(125, 34, 38)
HSLhsl(357, 57%, 31%)
HSVhsv(357, 73%, 49%)
CMYKcmyk(0%, 72.8%, 69.6%, 51%)
CIE-LABlab(28.50, 39.25, 20.42)
CIE-LCHlch(28.50, 44.25, 27.48°)
OKLaboklab(39.88% 0.1154 0.0479)
OKLCHoklch(39.88% 0.125 22.6)
XYZxyz(9.3803, 5.6453, 2.4291)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2226 #227D79
analogous
#7D2253 #7D2226 #7D4B22
triadic
#7D2226 #267D22 #22267D
tetradic
#7D2226 #537D22 #227D79 #4B227D
square
#7D2226 #537D22 #227D79 #4B227D
split-complementary
#7D2226 #227D4B #22537D
monochromatic
#1D0809 #4D1517 #7D2226 #AD2F35 #CE4B51

Accessibility & contrast

On white

9.86
#7D2226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2226
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2226#FFFFFF#000000##FFFFFF
##7D22261.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3725
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#8A0624
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d2226;
/* rgb */ color: rgb(125, 34, 38);
/* oklch */ color: oklch(39.9% 0.125 22.6);
Tailwind
colors: {
  custom: {
    50: '#a96460',
    500: '#7d2226',
    950: '#000000',
  },
}
SCSS
$custom: #7d2226;
$custom-light: #a96460;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2226",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 357.363,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3988,
    "c": 0.12493,
    "h": 22.6
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#7D2226
secondary
#4BB0AB
accent
#E0DA47
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7D2226

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

Preview Lab → · Contrast checker → · Palette generator →

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