#7A1751#7A1751

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

Color values

HEX#7A1751
RGBrgb(122, 23, 81)
HSLhsl(325, 68%, 28%)
HSVhsv(325, 81%, 48%)
CMYKcmyk(0%, 81.1%, 33.6%, 52.2%)
CIE-LABlab(27.70, 46.25, -9.45)
CIE-LCHlch(27.70, 47.21, 348.45°)
OKLaboklab(39.58% 0.1416 -0.0247)
OKLCHoklch(39.58% 0.144 350.1)
XYZxyz(9.8182, 5.3456, 8.2978)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1751 #177A40
analogous
#71177A #7A1751 #7A1720
triadic
#7A1751 #517A17 #17517A
tetradic
#7A1751 #7A7117 #177A40 #17207A
square
#7A1751 #7A7117 #177A40 #17207A
split-complementary
#7A1751 #207A17 #177A71
monochromatic
#1A0511 #470D2F #7A1751 #AD2173 #D93394

Accessibility & contrast

On white

10.15
#7A1751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1751
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1751#FFFFFF#000000##FFFFFF
##7A17511.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293652
Deuteranopia (green-blind)
#45484F
Tritanopia (blue-blind)
#840F32
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1751;
/* rgb */ color: rgb(122, 23, 81);
/* oklch */ color: oklch(39.6% 0.144 350.1);
Tailwind
colors: {
  custom: {
    50: '#a56081',
    500: '#7a1751',
    950: '#000000',
  },
}
SCSS
$custom: #7a1751;
$custom-light: #a56081;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1751",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 81
  },
  "hsl": {
    "h": 324.848,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39576,
    "c": 0.14375,
    "h": 350.1
  },
  "luminance": 0.05344
}

Semantic roles & 50–950 ramp

primary
#7A1751
secondary
#3EAF6D
accent
#EB853D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1751

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

Preview Lab → · Contrast checker → · Palette generator →

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