#7A1E52#7A1E52

#7A1E52 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.136 H 350.3°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7A1E52
RGBrgb(122, 30, 82)
HSLhsl(326, 61%, 30%)
HSVhsv(326, 75%, 48%)
CMYKcmyk(0%, 75.4%, 32.8%, 52.2%)
CIE-LABlab(28.58, 43.99, -8.78)
CIE-LCHlch(28.58, 44.86, 348.72°)
OKLaboklab(40.23% 0.1344 -0.0229)
OKLCHoklch(40.23% 0.136 350.3)
XYZxyz(10.0138, 5.6765, 8.5493)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1E52 #1E7A46
analogous
#741E7A #7A1E52 #7A1E24
triadic
#7A1E52 #527A1E #1E527A
tetradic
#7A1E52 #7A741E #1E7A46 #1E247A
square
#7A1E52 #7A741E #1E7A46 #1E247A
split-complementary
#7A1E52 #247A1E #1E7A74
monochromatic
#190611 #491231 #7A1E52 #AB2A73 #D04293

Accessibility & contrast

On white

9.84
#7A1E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1E52
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1E52#FFFFFF#000000##FFFFFF
##7A1E521.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1e52;
/* rgb */ color: rgb(122, 30, 82);
/* oklch */ color: oklch(40.2% 0.136 350.3);
Tailwind
colors: {
  custom: {
    50: '#a46382',
    500: '#7a1e52',
    950: '#000000',
  },
}
SCSS
$custom: #7a1e52;
$custom-light: #a46382;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1e52",
  "rgb": {
    "r": 122,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 326.087,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.13632,
    "h": 350.3
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#7A1E52
secondary
#46AE73
accent
#E48944
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1E52

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

Preview Lab → · Contrast checker → · Palette generator →

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