#7A1C54#7A1C54

#7A1C54 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.140 H 348.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7A1C54
RGBrgb(122, 28, 84)
HSLhsl(324, 63%, 29%)
HSVhsv(324, 77%, 48%)
CMYKcmyk(0%, 77%, 31.1%, 52.2%)
CIE-LABlab(28.40, 44.97, -10.37)
CIE-LCHlch(28.40, 46.15, 347.02°)
OKLaboklab(40.13% 0.1372 -0.0272)
OKLCHoklch(40.13% 0.14 348.8)
XYZxyz(10.0420, 5.6093, 8.9397)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C54 #1C7A42
analogous
#711C7A #7A1C54 #7A1C25
triadic
#7A1C54 #547A1C #1C547A
tetradic
#7A1C54 #7A711C #1C7A42 #1C257A
square
#7A1C54 #7A711C #1C7A42 #1C257A
split-complementary
#7A1C54 #257A1C #1C7A71
monochromatic
#190611 #481132 #7A1C54 #AC2776 #D33E96

Accessibility & contrast

On white

9.90
#7A1C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7A1C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1C54
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C54#FFFFFF#000000##FFFFFF
##7A1C541.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3856
Deuteranopia (green-blind)
#464952
Tritanopia (blue-blind)
#831735
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1c54;
/* rgb */ color: rgb(122, 28, 84);
/* oklch */ color: oklch(40.1% 0.140 348.8);
Tailwind
colors: {
  custom: {
    50: '#a46284',
    500: '#7a1c54',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c54;
$custom-light: #a46284;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c54",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 84
  },
  "hsl": {
    "h": 324.255,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40131,
    "c": 0.13987,
    "h": 348.8
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#7A1C54
secondary
#44AE6F
accent
#E68442
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1C54

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

Preview Lab → · Contrast checker → · Palette generator →

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