#7A1D53#7A1D53

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

Color values

HEX#7A1D53
RGBrgb(122, 29, 83)
HSLhsl(325, 62%, 30%)
HSVhsv(325, 76%, 48%)
CMYKcmyk(0%, 76.2%, 32%, 52.2%)
CIE-LABlab(28.49, 44.49, -9.58)
CIE-LCHlch(28.49, 45.51, 347.85°)
OKLaboklab(40.18% 0.1358 -0.025)
OKLCHoklch(40.18% 0.138 349.6)
XYZxyz(10.0273, 5.6420, 8.7429)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D53 #1D7A44
analogous
#721D7A #7A1D53 #7A1D25
triadic
#7A1D53 #537A1D #1D537A
tetradic
#7A1D53 #7A721D #1D7A44 #1D257A
square
#7A1D53 #7A721D #1D7A44 #1D257A
split-complementary
#7A1D53 #257A1D #1D7A72
monochromatic
#190611 #491131 #7A1D53 #AB2975 #D24094

Accessibility & contrast

On white

9.87
#7A1D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1D53
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D53#FFFFFF#000000##FFFFFF
##7A1D531.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3954
Deuteranopia (green-blind)
#474951
Tritanopia (blue-blind)
#831835
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1d53;
/* rgb */ color: rgb(122, 29, 83);
/* oklch */ color: oklch(40.2% 0.138 349.6);
Tailwind
colors: {
  custom: {
    50: '#a46283',
    500: '#7a1d53',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d53;
$custom-light: #a46283;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d53",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 325.161,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4018,
    "c": 0.13811,
    "h": 349.6
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#7A1D53
secondary
#45AE71
accent
#E58743
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1D53

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

Preview Lab → · Contrast checker → · Palette generator →

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