#7A1526#7A1526

#7A1526 is a dark, vivid red. Relative luminance 0.048; OKLCH L 38.1% C 0.134 H 17.9°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#7A1526
RGBrgb(122, 21, 38)
HSLhsl(350, 71%, 28%)
HSVhsv(350, 83%, 48%)
CMYKcmyk(0%, 82.8%, 68.9%, 52.2%)
CIE-LABlab(26.20, 42.96, 17.41)
CIE-LCHlch(26.20, 46.35, 22.07°)
OKLaboklab(38.06% 0.1276 0.0413)
OKLCHoklch(38.06% 0.134 17.9)
XYZxyz(8.6450, 4.8152, 2.3076)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1526 #157A69
analogous
#7A1558 #7A1526 #7A3615
triadic
#7A1526 #267A15 #15267A
tetradic
#7A1526 #587A15 #157A69 #36157A
square
#7A1526 #587A15 #157A69 #36157A
split-complementary
#7A1526 #157A36 #15587A
monochromatic
#1A0408 #460C16 #7A1526 #AE1E36 #DB2E4B

Accessibility & contrast

On white

10.70
#7A1526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#7A1526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1526
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1526#FFFFFF#000000##FFFFFF
##7A15261.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333026
Deuteranopia (green-blind)
#4D4623
Tritanopia (blue-blind)
#86001D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #7a1526;
/* rgb */ color: rgb(122, 21, 38);
/* oklch */ color: oklch(38.1% 0.134 17.9);
Tailwind
colors: {
  custom: {
    50: '#a75e60',
    500: '#7a1526',
    950: '#000000',
  },
}
SCSS
$custom: #7a1526;
$custom-light: #a75e60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1526",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 38
  },
  "hsl": {
    "h": 349.901,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38061,
    "c": 0.13415,
    "h": 17.9
  },
  "luminance": 0.04814
}

Semantic roles & 50–950 ramp

primary
#7A1526
secondary
#3BAF9C
accent
#EDCF3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7A1526

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

Preview Lab → · Contrast checker → · Palette generator →

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