#7A2128#7A2128

#7A2128 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.3% C 0.122 H 20.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7A2128
RGBrgb(122, 33, 40)
HSLhsl(355, 57%, 30%)
HSVhsv(355, 73%, 48%)
CMYKcmyk(0%, 73%, 67.2%, 52.2%)
CIE-LABlab(27.79, 38.75, 18.10)
CIE-LCHlch(27.79, 42.77, 25.04°)
OKLaboklab(39.25% 0.1146 0.0431)
OKLCHoklch(39.25% 0.122 20.6)
XYZxyz(8.9538, 5.3798, 2.5740)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2128 #217A73
analogous
#7A2154 #7A2128 #7A4621
triadic
#7A2128 #287A21 #21287A
tetradic
#7A2128 #547A21 #217A73 #46217A
square
#7A2128 #547A21 #217A73 #46217A
split-complementary
#7A2128 #217A46 #21547A
monochromatic
#1A0708 #4A1418 #7A2128 #AA2E38 #CD4852

Accessibility & contrast

On white

10.12
#7A2128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7A2128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2128
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2128#FFFFFF#000000##FFFFFF
##7A21281.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393628
Deuteranopia (green-blind)
#504925
Tritanopia (blue-blind)
#860724
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a2128;
/* rgb */ color: rgb(122, 33, 40);
/* oklch */ color: oklch(39.3% 0.122 20.6);
Tailwind
colors: {
  custom: {
    50: '#a76361',
    500: '#7a2128',
    950: '#000000',
  },
}
SCSS
$custom: #7a2128;
$custom-light: #a76361;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2128",
  "rgb": {
    "r": 122,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 355.281,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39253,
    "c": 0.12247,
    "h": 20.6
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#7A2128
secondary
#4AADA5
accent
#E1D547
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7A2128

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

Preview Lab → · Contrast checker → · Palette generator →

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