#7A1728#7A1728

#7A1728 is a dark, vivid red. Relative luminance 0.049; OKLCH L 38.3% C 0.132 H 17.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#7A1728
RGBrgb(122, 23, 40)
HSLhsl(350, 68%, 28%)
HSVhsv(350, 81%, 48%)
CMYKcmyk(0%, 81.1%, 67.2%, 52.2%)
CIE-LABlab(26.46, 42.45, 16.41)
CIE-LCHlch(26.46, 45.51, 21.13°)
OKLaboklab(38.27% 0.1265 0.0393)
OKLCHoklch(38.27% 0.132 17.2)
XYZxyz(8.7164, 4.9049, 2.4948)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1728 #177A69
analogous
#7A1759 #7A1728 #7A3717
triadic
#7A1728 #287A17 #17287A
tetradic
#7A1728 #597A17 #177A69 #37177A
square
#7A1728 #597A17 #177A69 #37177A
split-complementary
#7A1728 #177A37 #17597A
monochromatic
#1A0508 #470D17 #7A1728 #AD2139 #D9334F

Accessibility & contrast

On white

10.60
#7A1728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#7A1728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1728
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1728#FFFFFF#000000##FFFFFF
##7A17281.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343128
Deuteranopia (green-blind)
#4D4625
Tritanopia (blue-blind)
#86001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1728;
/* rgb */ color: rgb(122, 23, 40);
/* oklch */ color: oklch(38.3% 0.132 17.2);
Tailwind
colors: {
  custom: {
    50: '#a75f61',
    500: '#7a1728',
    950: '#000000',
  },
}
SCSS
$custom: #7a1728;
$custom-light: #a75f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1728",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 349.697,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38266,
    "c": 0.13241,
    "h": 17.2
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#7A1728
secondary
#3EAF9C
accent
#EBCD3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7A1728

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

Preview Lab → · Contrast checker → · Palette generator →

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