#7A1E57#7A1E57

#7A1E57 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.139 H 347.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7A1E57
RGBrgb(122, 30, 87)
HSLhsl(323, 61%, 30%)
HSVhsv(323, 75%, 48%)
CMYKcmyk(0%, 75.4%, 28.7%, 52.2%)
CIE-LABlab(28.79, 44.65, -11.76)
CIE-LCHlch(28.79, 46.17, 345.24°)
OKLaboklab(40.45% 0.1357 -0.031)
OKLCHoklch(40.45% 0.139 347.1)
XYZxyz(10.2111, 5.7554, 9.5881)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E57 #1E7A41
analogous
#6F1E7A #7A1E57 #7A1E29
triadic
#7A1E57 #577A1E #1E577A
tetradic
#7A1E57 #7A6F1E #1E7A41 #1E297A
square
#7A1E57 #7A6F1E #1E7A41 #1E297A
split-complementary
#7A1E57 #297A1E #1E7A6F
monochromatic
#190612 #491234 #7A1E57 #AB2A7A #D0429A

Accessibility & contrast

On white

9.76
#7A1E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A1E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1E57
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E57#FFFFFF#000000##FFFFFF
##7A1E571.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A59
Deuteranopia (green-blind)
#464A55
Tritanopia (blue-blind)
#831B37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1e57;
/* rgb */ color: rgb(122, 30, 87);
/* oklch */ color: oklch(40.5% 0.139 347.1);
Tailwind
colors: {
  custom: {
    50: '#a46386',
    500: '#7a1e57',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e57;
$custom-light: #a46386;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e57",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 322.826,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40451,
    "c": 0.1392,
    "h": 347.1
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#7A1E57
secondary
#46AE6E
accent
#E48144
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1E57

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

Preview Lab → · Contrast checker → · Palette generator →

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