#7A1727#7A1727

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

Color values

HEX#7A1727
RGBrgb(122, 23, 39)
HSLhsl(350, 68%, 28%)
HSVhsv(350, 81%, 48%)
CMYKcmyk(0%, 81.1%, 68%, 52.2%)
CIE-LABlab(26.44, 42.39, 17.05)
CIE-LCHlch(26.44, 45.69, 21.91°)
OKLaboklab(38.25% 0.126 0.0406)
OKLCHoklch(38.25% 0.132 17.9)
XYZxyz(8.6996, 4.8982, 2.4064)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1727 #177A6A
analogous
#7A1758 #7A1727 #7A3817
triadic
#7A1727 #277A17 #17277A
tetradic
#7A1727 #587A17 #177A6A #38177A
square
#7A1727 #587A17 #177A6A #38177A
split-complementary
#7A1727 #177A38 #17587A
monochromatic
#1A0508 #470D17 #7A1727 #AD2137 #D9334E

Accessibility & contrast

On white

10.61
#7A1727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1727
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1727#FFFFFF#000000##FFFFFF
##7A17271.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1727;
/* rgb */ color: rgb(122, 23, 39);
/* oklch */ color: oklch(38.2% 0.132 17.9);
Tailwind
colors: {
  custom: {
    50: '#a75f60',
    500: '#7a1727',
    950: '#000000',
  },
}
SCSS
$custom: #7a1727;
$custom-light: #a75f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1727",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 39
  },
  "hsl": {
    "h": 350.303,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38245,
    "c": 0.13242,
    "h": 17.9
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#7A1727
secondary
#3EAF9D
accent
#EBCF3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7A1727

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

Preview Lab → · Contrast checker → · Palette generator →

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