#7A1E55#7A1E55

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

Color values

HEX#7A1E55
RGBrgb(122, 30, 85)
HSLhsl(324, 61%, 30%)
HSVhsv(324, 75%, 48%)
CMYKcmyk(0%, 75.4%, 30.3%, 52.2%)
CIE-LABlab(28.70, 44.38, -10.57)
CIE-LCHlch(28.70, 45.62, 346.60°)
OKLaboklab(40.36% 0.1352 -0.0278)
OKLCHoklch(40.36% 0.138 348.4)
XYZxyz(10.1305, 5.7231, 9.1637)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E55 #1E7A43
analogous
#711E7A #7A1E55 #7A1E27
triadic
#7A1E55 #557A1E #1E557A
tetradic
#7A1E55 #7A711E #1E7A43 #1E277A
square
#7A1E55 #7A711E #1E7A43 #1E277A
split-complementary
#7A1E55 #277A1E #1E7A71
monochromatic
#190611 #491233 #7A1E55 #AB2A77 #D04297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1E55#FFFFFF#000000##FFFFFF
##7A1E551.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)
#2C3957
Deuteranopia (green-blind)
#464953
Tritanopia (blue-blind)
#831A36
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1e55;
/* rgb */ color: rgb(122, 30, 85);
/* oklch */ color: oklch(40.4% 0.138 348.4);
Tailwind
colors: {
  custom: {
    50: '#a46385',
    500: '#7a1e55',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e55;
$custom-light: #a46385;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e55",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 85
  },
  "hsl": {
    "h": 324.13,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40362,
    "c": 0.13801,
    "h": 348.4
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#7A1E55
secondary
#46AE70
accent
#E48444
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1E55

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

Preview Lab → · Contrast checker → · Palette generator →

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