#7A1D52#7A1D52

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

Color values

HEX#7A1D52
RGBrgb(122, 29, 82)
HSLhsl(326, 62%, 30%)
HSVhsv(326, 76%, 48%)
CMYKcmyk(0%, 76.2%, 32.8%, 52.2%)
CIE-LABlab(28.45, 44.36, -8.98)
CIE-LCHlch(28.45, 45.26, 348.56°)
OKLaboklab(40.14% 0.1356 -0.0234)
OKLCHoklch(40.14% 0.138 350.2)
XYZxyz(9.9889, 5.6267, 8.5410)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D52 #1D7A45
analogous
#731D7A #7A1D52 #7A1D24
triadic
#7A1D52 #527A1D #1D527A
tetradic
#7A1D52 #7A731D #1D7A45 #1D247A
square
#7A1D52 #7A731D #1D7A45 #1D247A
split-complementary
#7A1D52 #247A1D #1D7A73
monochromatic
#190611 #491131 #7A1D52 #AB2973 #D24093

Accessibility & contrast

On white

9.88
#7A1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7A1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D52
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D52#FFFFFF#000000##FFFFFF
##7A1D521.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1d52;
/* rgb */ color: rgb(122, 29, 82);
/* oklch */ color: oklch(40.1% 0.138 350.2);
Tailwind
colors: {
  custom: {
    50: '#a46282',
    500: '#7a1d52',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d52;
$custom-light: #a46282;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d52",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 325.806,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40138,
    "c": 0.13755,
    "h": 350.2
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#7A1D52
secondary
#45AE72
accent
#E58943
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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