#7A2227#7A2227

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

Color values

HEX#7A2227
RGBrgb(122, 34, 39)
HSLhsl(357, 56%, 31%)
HSVhsv(357, 72%, 48%)
CMYKcmyk(0%, 72.1%, 68%, 52.2%)
CIE-LABlab(27.92, 38.27, 18.93)
CIE-LCHlch(27.92, 42.70, 26.31°)
OKLaboklab(39.35% 0.1129 0.0448)
OKLCHoklch(39.35% 0.121 21.7)
XYZxyz(8.9652, 5.4294, 2.4950)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2227 #227A75
analogous
#7A2253 #7A2227 #7A4922
triadic
#7A2227 #277A22 #22277A
tetradic
#7A2227 #537A22 #227A75 #49227A
square
#7A2227 #537A22 #227A75 #49227A
split-complementary
#7A2227 #227A49 #22537A
monochromatic
#1A0708 #4A1518 #7A2227 #AA2F36 #CD4A51

Accessibility & contrast

On white

10.07
#7A2227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A2227
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2227#FFFFFF#000000##FFFFFF
##7A22271.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2227;
/* rgb */ color: rgb(122, 34, 39);
/* oklch */ color: oklch(39.3% 0.121 21.7);
Tailwind
colors: {
  custom: {
    50: '#a76361',
    500: '#7a2227',
    950: '#000000',
  },
}
SCSS
$custom: #7a2227;
$custom-light: #a76361;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2227",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 356.591,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39347,
    "c": 0.12146,
    "h": 21.7
  },
  "luminance": 0.05428
}

Semantic roles & 50–950 ramp

primary
#7A2227
secondary
#4BADA7
accent
#E0D748
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7A2227

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

Preview Lab → · Contrast checker → · Palette generator →

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