#7A1528#7A1528

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

Color values

HEX#7A1528
RGBrgb(122, 21, 40)
HSLhsl(349, 71%, 28%)
HSVhsv(349, 83%, 48%)
CMYKcmyk(0%, 82.8%, 67.2%, 52.2%)
CIE-LABlab(26.24, 43.08, 16.12)
CIE-LCHlch(26.24, 45.99, 20.52°)
OKLaboklab(38.1% 0.1285 0.0386)
OKLCHoklch(38.1% 0.134 16.7)
XYZxyz(8.6782, 4.8284, 2.4821)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1528 #157A67
analogous
#7A155A #7A1528 #7A3415
triadic
#7A1528 #287A15 #15287A
tetradic
#7A1528 #5A7A15 #157A67 #34157A
square
#7A1528 #5A7A15 #157A67 #34157A
split-complementary
#7A1528 #157A34 #155A7A
monochromatic
#1A0409 #460C17 #7A1528 #AE1E39 #DB2E4F

Accessibility & contrast

On white

10.68
#7A1528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#7A1528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1528
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1528#FFFFFF#000000##FFFFFF
##7A15281.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1528;
/* rgb */ color: rgb(122, 21, 40);
/* oklch */ color: oklch(38.1% 0.134 16.7);
Tailwind
colors: {
  custom: {
    50: '#a75e61',
    500: '#7a1528',
    950: '#000000',
  },
}
SCSS
$custom: #7a1528;
$custom-light: #a75e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1528",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 348.713,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38102,
    "c": 0.13414,
    "h": 16.7
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#7A1528
secondary
#3BAF9A
accent
#EDCC3A
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7A1528

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

Preview Lab → · Contrast checker → · Palette generator →

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