#7A2228#7A2228

#7A2228 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.121 H 21.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7A2228
RGBrgb(122, 34, 40)
HSLhsl(356, 56%, 31%)
HSVhsv(356, 72%, 48%)
CMYKcmyk(0%, 72.1%, 67.2%, 52.2%)
CIE-LABlab(27.94, 38.34, 18.29)
CIE-LCHlch(27.94, 42.48, 25.51°)
OKLaboklab(39.37% 0.1133 0.0435)
OKLCHoklch(39.37% 0.121 21)
XYZxyz(8.9820, 5.4361, 2.5834)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2228 #227A74
analogous
#7A2254 #7A2228 #7A4822
triadic
#7A2228 #287A22 #22287A
tetradic
#7A2228 #547A22 #227A74 #48227A
square
#7A2228 #547A22 #227A74 #48227A
split-complementary
#7A2228 #227A48 #22547A
monochromatic
#1A0709 #4A1518 #7A2228 #AA2F38 #CD4A53

Accessibility & contrast

On white

10.06
#7A2228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A2228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2228
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2228#FFFFFF#000000##FFFFFF
##7A22281.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3628
Deuteranopia (green-blind)
#504926
Tritanopia (blue-blind)
#860925
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a2228;
/* rgb */ color: rgb(122, 34, 40);
/* oklch */ color: oklch(39.4% 0.121 21.0);
Tailwind
colors: {
  custom: {
    50: '#a76361',
    500: '#7a2228',
    950: '#000000',
  },
}
SCSS
$custom: #7a2228;
$custom-light: #a76361;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2228",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 355.909,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39367,
    "c": 0.12138,
    "h": 21
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

primary
#7A2228
secondary
#4BADA6
accent
#E0D548
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7A2228

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

Preview Lab → · Contrast checker → · Palette generator →

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