#7A1828#7A1828

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

Color values

HEX#7A1828
RGBrgb(122, 24, 40)
HSLhsl(350, 67%, 29%)
HSVhsv(350, 80%, 48%)
CMYKcmyk(0%, 80.3%, 67.2%, 52.2%)
CIE-LABlab(26.58, 42.12, 16.55)
CIE-LCHlch(26.58, 45.26, 21.46°)
OKLaboklab(38.35% 0.1254 0.0396)
OKLCHoklch(38.35% 0.132 17.5)
XYZxyz(8.7366, 4.9454, 2.5016)
Luminance0.0494 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1828 #187A6A
analogous
#7A1859 #7A1828 #7A3918
triadic
#7A1828 #287A18 #18287A
tetradic
#7A1828 #597A18 #187A6A #39187A
square
#7A1828 #597A18 #187A6A #39187A
split-complementary
#7A1828 #187A39 #18597A
monochromatic
#1A0508 #470E17 #7A1828 #AD2239 #D73550

Accessibility & contrast

On white

10.56
#7A1828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7A1828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1828
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1828#FFFFFF#000000##FFFFFF
##7A18281.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1828;
/* rgb */ color: rgb(122, 24, 40);
/* oklch */ color: oklch(38.4% 0.132 17.5);
Tailwind
colors: {
  custom: {
    50: '#a75f61',
    500: '#7a1828',
    950: '#000000',
  },
}
SCSS
$custom: #7a1828;
$custom-light: #a75f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1828",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 350.204,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38352,
    "c": 0.13151,
    "h": 17.5
  },
  "luminance": 0.04944
}

Semantic roles & 50–950 ramp

primary
#7A1828
secondary
#3FAF9D
accent
#EACE3E
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7A1828

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

Preview Lab → · Contrast checker → · Palette generator →

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