#7A1C52#7A1C52

#7A1C52 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.139 H 350.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7A1C52
RGBrgb(122, 28, 82)
HSLhsl(326, 63%, 29%)
HSVhsv(326, 77%, 48%)
CMYKcmyk(0%, 77%, 32.8%, 52.2%)
CIE-LABlab(28.32, 44.72, -9.17)
CIE-LCHlch(28.32, 45.65, 348.41°)
OKLaboklab(40.04% 0.1367 -0.0239)
OKLCHoklch(40.04% 0.139 350.1)
XYZxyz(9.9648, 5.5784, 8.5330)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C52 #1C7A44
analogous
#731C7A #7A1C52 #7A1C23
triadic
#7A1C52 #527A1C #1C527A
tetradic
#7A1C52 #7A731C #1C7A44 #1C237A
square
#7A1C52 #7A731C #1C7A44 #1C237A
split-complementary
#7A1C52 #237A1C #1C7A73
monochromatic
#190611 #481131 #7A1C52 #AC2773 #D33E93

Accessibility & contrast

On white

9.93
#7A1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C52
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C52#FFFFFF#000000##FFFFFF
##7A1C521.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#831634
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1c52;
/* rgb */ color: rgb(122, 28, 82);
/* oklch */ color: oklch(40.0% 0.139 350.1);
Tailwind
colors: {
  custom: {
    50: '#a46282',
    500: '#7a1c52',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c52;
$custom-light: #a46282;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c52",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 325.532,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40045,
    "c": 0.13875,
    "h": 350.1
  },
  "luminance": 0.05577
}

Semantic roles & 50–950 ramp

primary
#7A1C52
secondary
#44AE71
accent
#E68842
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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