#7A1752#7A1752

#7A1752 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.144 H 349.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7A1752
RGBrgb(122, 23, 82)
HSLhsl(324, 68%, 28%)
HSVhsv(324, 81%, 48%)
CMYKcmyk(0%, 81.1%, 32.8%, 52.2%)
CIE-LABlab(27.74, 46.38, -10.05)
CIE-LCHlch(27.74, 47.45, 347.77°)
OKLaboklab(39.62% 0.1419 -0.0263)
OKLCHoklch(39.62% 0.144 349.5)
XYZxyz(9.8560, 5.3607, 8.4967)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1752 #177A3F
analogous
#70177A #7A1752 #7A1721
triadic
#7A1752 #527A17 #17527A
tetradic
#7A1752 #7A7017 #177A3F #17217A
square
#7A1752 #7A7017 #177A3F #17217A
split-complementary
#7A1752 #217A17 #177A70
monochromatic
#1A0511 #470D2F #7A1752 #AD2175 #D93396

Accessibility & contrast

On white

10.14
#7A1752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7A1752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1752
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1752#FFFFFF#000000##FFFFFF
##7A17521.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283654
Deuteranopia (green-blind)
#454850
Tritanopia (blue-blind)
#831032
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1752;
/* rgb */ color: rgb(122, 23, 82);
/* oklch */ color: oklch(39.6% 0.144 349.5);
Tailwind
colors: {
  custom: {
    50: '#a46082',
    500: '#7a1752',
    950: '#000000',
  },
}
SCSS
$custom: #7a1752;
$custom-light: #a46082;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1752",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 324.242,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39619,
    "c": 0.1443,
    "h": 349.5
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#7A1752
secondary
#3EAF6C
accent
#EB833D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1752

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

Preview Lab → · Contrast checker → · Palette generator →

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