#7A1A42#7A1A42

#7A1A42 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 0.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7A1A42
RGBrgb(122, 26, 66)
HSLhsl(335, 65%, 29%)
HSVhsv(335, 79%, 48%)
CMYKcmyk(0%, 78.7%, 45.9%, 52.2%)
CIE-LABlab(27.49, 43.59, 0.27)
CIE-LCHlch(27.49, 43.59, 0.36°)
OKLaboklab(39.25% 0.1338 0.0012)
OKLCHoklch(39.25% 0.134 0.5)
XYZxyz(9.3795, 5.2709, 5.6767)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A42 #1A7A52
analogous
#7A1A72 #7A1A42 #7A221A
triadic
#7A1A42 #427A1A #1A427A
tetradic
#7A1A42 #727A1A #1A7A52 #221A7A
square
#7A1A42 #727A1A #1A7A52 #221A7A
split-complementary
#7A1A42 #1A7A22 #1A727A
monochromatic
#19050E #480F27 #7A1A42 #AC255D #D5397A

Accessibility & contrast

On white

10.22
#7A1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7A1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A42
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A42#FFFFFF#000000##FFFFFF
##7A1A421.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#85082B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1a42;
/* rgb */ color: rgb(122, 26, 66);
/* oklch */ color: oklch(39.2% 0.134 0.5);
Tailwind
colors: {
  custom: {
    50: '#a56176',
    500: '#7a1a42',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a42;
$custom-light: #a56176;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a42",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 335,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39246,
    "c": 0.13381,
    "h": 0.5
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#7A1A42
secondary
#41AE81
accent
#E8A240
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7A1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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