#7A1E54#7A1E54

#7A1E54 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.137 H 349.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7A1E54
RGBrgb(122, 30, 84)
HSLhsl(325, 61%, 30%)
HSVhsv(325, 75%, 48%)
CMYKcmyk(0%, 75.4%, 31.1%, 52.2%)
CIE-LABlab(28.66, 44.25, -9.98)
CIE-LCHlch(28.66, 45.36, 347.30°)
OKLaboklab(40.32% 0.1349 -0.0261)
OKLCHoklch(40.32% 0.137 349)
XYZxyz(10.0911, 5.7073, 8.9560)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E54 #1E7A44
analogous
#721E7A #7A1E54 #7A1E26
triadic
#7A1E54 #547A1E #1E547A
tetradic
#7A1E54 #7A721E #1E7A44 #1E267A
square
#7A1E54 #7A721E #1E7A44 #1E267A
split-complementary
#7A1E54 #267A1E #1E7A72
monochromatic
#190611 #491232 #7A1E54 #AB2A76 #D04296

Accessibility & contrast

On white

9.81
#7A1E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E54
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E54#FFFFFF#000000##FFFFFF
##7A1E541.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3955
Deuteranopia (green-blind)
#474952
Tritanopia (blue-blind)
#831936
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1e54;
/* rgb */ color: rgb(122, 30, 84);
/* oklch */ color: oklch(40.3% 0.137 349.0);
Tailwind
colors: {
  custom: {
    50: '#a46384',
    500: '#7a1e54',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e54;
$custom-light: #a46384;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e54",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 324.783,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40319,
    "c": 0.13744,
    "h": 349
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#7A1E54
secondary
#46AE71
accent
#E48644
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1E54

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

Preview Lab → · Contrast checker → · Palette generator →

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