#7A1D58#7A1D58

#7A1D58 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.141 H 346.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7A1D58
RGBrgb(122, 29, 88)
HSLhsl(322, 62%, 30%)
HSVhsv(322, 76%, 48%)
CMYKcmyk(0%, 76.2%, 27.9%, 52.2%)
CIE-LABlab(28.70, 45.15, -12.55)
CIE-LCHlch(28.70, 46.86, 344.46°)
OKLaboklab(40.4% 0.1371 -0.0332)
OKLCHoklch(40.4% 0.141 346.4)
XYZxyz(10.2273, 5.7220, 9.7965)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D58 #1D7A3F
analogous
#6D1D7A #7A1D58 #7A1D2A
triadic
#7A1D58 #587A1D #1D587A
tetradic
#7A1D58 #7A6D1D #1D7A3F #1D2A7A
square
#7A1D58 #7A6D1D #1D7A3F #1D2A7A
split-complementary
#7A1D58 #2A7A1D #1D7A6D
monochromatic
#190612 #491134 #7A1D58 #AB297C #D2409C

Accessibility & contrast

On white

9.79
#7A1D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A1D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D58
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D58#FFFFFF#000000##FFFFFF
##7A1D581.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293A5A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#831A38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1d58;
/* rgb */ color: rgb(122, 29, 88);
/* oklch */ color: oklch(40.4% 0.141 346.4);
Tailwind
colors: {
  custom: {
    50: '#a46387',
    500: '#7a1d58',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d58;
$custom-light: #a46387;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d58",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 321.935,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40402,
    "c": 0.14103,
    "h": 346.4
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#7A1D58
secondary
#45AE6B
accent
#E57E43
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1D58

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

Preview Lab → · Contrast checker → · Palette generator →

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