#7A2229#7A2229

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

Color values

HEX#7A2229
RGBrgb(122, 34, 41)
HSLhsl(355, 56%, 31%)
HSVhsv(355, 72%, 48%)
CMYKcmyk(0%, 72.1%, 66.4%, 52.2%)
CIE-LABlab(27.96, 38.40, 17.66)
CIE-LCHlch(27.96, 42.27, 24.70°)
OKLaboklab(39.39% 0.1137 0.0422)
OKLCHoklch(39.39% 0.121 20.4)
XYZxyz(8.9992, 5.4430, 2.6741)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2229 #227A73
analogous
#7A2255 #7A2229 #7A4722
triadic
#7A2229 #297A22 #22297A
tetradic
#7A2229 #557A22 #227A73 #47227A
square
#7A2229 #557A22 #227A73 #47227A
split-complementary
#7A2229 #227A47 #22557A
monochromatic
#1A0709 #4A1519 #7A2229 #AA2F39 #CD4A54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A2229#FFFFFF#000000##FFFFFF
##7A22291.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)
#3A3629
Deuteranopia (green-blind)
#504927
Tritanopia (blue-blind)
#860A25
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a2229;
/* rgb */ color: rgb(122, 34, 41);
/* oklch */ color: oklch(39.4% 0.121 20.4);
Tailwind
colors: {
  custom: {
    50: '#a66362',
    500: '#7a2229',
    950: '#000000',
  },
}
SCSS
$custom: #7a2229;
$custom-light: #a66362;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2229",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 355.227,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39386,
    "c": 0.12131,
    "h": 20.4
  },
  "luminance": 0.05442
}

Semantic roles & 50–950 ramp

primary
#7A2229
secondary
#4BADA5
accent
#E0D448
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7A2229

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

Preview Lab → · Contrast checker → · Palette generator →

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