#7A1A4D#7A1A4D

#7A1A4D is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.138 H 353.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7A1A4D
RGBrgb(122, 26, 77)
HSLhsl(328, 65%, 29%)
HSVhsv(328, 79%, 48%)
CMYKcmyk(0%, 78.7%, 36.9%, 52.2%)
CIE-LABlab(27.88, 44.80, -6.52)
CIE-LCHlch(27.88, 45.27, 351.73°)
OKLaboklab(39.66% 0.1374 -0.0167)
OKLCHoklch(39.66% 0.138 353.1)
XYZxyz(9.7356, 5.4134, 7.5519)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A4D #1A7A47
analogous
#771A7A #7A1A4D #7A1A1D
triadic
#7A1A4D #4D7A1A #1A4D7A
tetradic
#7A1A4D #7A771A #1A7A47 #1A1D7A
square
#7A1A4D #7A771A #1A7A47 #1A1D7A
split-complementary
#7A1A4D #1D7A1A #1A7A77
monochromatic
#190510 #480F2D #7A1A4D #AC256D #D5398C

Accessibility & contrast

On white

10.08
#7A1A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1A4D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A4D#FFFFFF#000000##FFFFFF
##7A1A4D1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374E
Deuteranopia (green-blind)
#47484B
Tritanopia (blue-blind)
#841031
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1a4d;
/* rgb */ color: rgb(122, 26, 77);
/* oklch */ color: oklch(39.7% 0.138 353.1);
Tailwind
colors: {
  custom: {
    50: '#a5617e',
    500: '#7a1a4d',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a4d;
$custom-light: #a5617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a4d",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 328.125,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39658,
    "c": 0.13845,
    "h": 353.1
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#7A1A4D
secondary
#41AE74
accent
#E88F40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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