#7A1A4C#7A1A4C

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

Color values

HEX#7A1A4C
RGBrgb(122, 26, 76)
HSLhsl(329, 65%, 29%)
HSVhsv(329, 79%, 48%)
CMYKcmyk(0%, 78.7%, 37.7%, 52.2%)
CIE-LABlab(27.84, 44.68, -5.91)
CIE-LCHlch(27.84, 45.07, 352.47°)
OKLaboklab(39.62% 0.1371 -0.0151)
OKLCHoklch(39.62% 0.138 353.7)
XYZxyz(9.7006, 5.3994, 7.3674)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A4C #1A7A48
analogous
#781A7A #7A1A4C #7A1A1C
triadic
#7A1A4C #4C7A1A #1A4C7A
tetradic
#7A1A4C #7A781A #1A7A48 #1A1C7A
square
#7A1A4C #7A781A #1A7A48 #1A1C7A
split-complementary
#7A1A4C #1C7A1A #1A7A78
monochromatic
#190510 #480F2D #7A1A4C #AC256B #D5398A

Accessibility & contrast

On white

10.10
#7A1A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1A4C
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A4C#FFFFFF#000000##FFFFFF
##7A1A4C1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374D
Deuteranopia (green-blind)
#47484A
Tritanopia (blue-blind)
#841030
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1a4c;
/* rgb */ color: rgb(122, 26, 76);
/* oklch */ color: oklch(39.6% 0.138 353.7);
Tailwind
colors: {
  custom: {
    50: '#a5617e',
    500: '#7a1a4c',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a4c;
$custom-light: #a5617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a4c",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 328.75,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.13796,
    "h": 353.7
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#7A1A4C
secondary
#41AE76
accent
#E89040
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A1A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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