#7A1D54#7A1D54

#7A1D54 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.139 H 348.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7A1D54
RGBrgb(122, 29, 84)
HSLhsl(325, 62%, 30%)
HSVhsv(325, 76%, 48%)
CMYKcmyk(0%, 76.2%, 31.1%, 52.2%)
CIE-LABlab(28.53, 44.62, -10.17)
CIE-LCHlch(28.53, 45.76, 347.15°)
OKLaboklab(40.22% 0.1361 -0.0267)
OKLCHoklch(40.22% 0.139 348.9)
XYZxyz(10.0662, 5.6575, 8.9477)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D54 #1D7A43
analogous
#721D7A #7A1D54 #7A1D26
triadic
#7A1D54 #547A1D #1D547A
tetradic
#7A1D54 #7A721D #1D7A43 #1D267A
square
#7A1D54 #7A721D #1D7A43 #1D267A
split-complementary
#7A1D54 #267A1D #1D7A72
monochromatic
#190611 #491132 #7A1D54 #AB2976 #D24096

Accessibility & contrast

On white

9.85
#7A1D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1D54
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D54#FFFFFF#000000##FFFFFF
##7A1D541.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1d54;
/* rgb */ color: rgb(122, 29, 84);
/* oklch */ color: oklch(40.2% 0.139 348.9);
Tailwind
colors: {
  custom: {
    50: '#a46284',
    500: '#7a1d54',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d54;
$custom-light: #a46284;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d54",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 84
  },
  "hsl": {
    "h": 324.516,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40224,
    "c": 0.13867,
    "h": 348.9
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#7A1D54
secondary
#45AE70
accent
#E58543
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1D54

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

Preview Lab → · Contrast checker → · Palette generator →

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