#7A1568#7A1568

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

Color values

HEX#7A1568
RGBrgb(122, 21, 104)
HSLhsl(311, 71%, 28%)
HSVhsv(311, 83%, 48%)
CMYKcmyk(0%, 82.8%, 14.8%, 52.2%)
CIE-LABlab(28.58, 49.99, -23.17)
CIE-LCHlch(28.58, 55.10, 335.13°)
OKLaboklab(40.56% 0.1474 -0.0632)
OKLCHoklch(40.56% 0.16 336.8)
XYZxyz(10.7931, 5.6744, 13.6209)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1568 #157A27
analogous
#59157A #7A1568 #7A1535
triadic
#7A1568 #687A15 #15687A
tetradic
#7A1568 #7A5915 #157A27 #15357A
square
#7A1568 #7A5915 #157A27 #15357A
split-complementary
#7A1568 #357A15 #157A59
monochromatic
#1A0416 #460C3B #7A1568 #AE1E95 #DB2EBC

Accessibility & contrast

On white

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

On black

2.13
#7A1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7A1568#FFFFFF#000000##FFFFFF
##7A15681.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183A6A
Deuteranopia (green-blind)
#3D4966
Tritanopia (blue-blind)
#811D3E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1568;
/* rgb */ color: rgb(122, 21, 104);
/* oklch */ color: oklch(40.6% 0.160 336.8);
Tailwind
colors: {
  custom: {
    50: '#a46093',
    500: '#7a1568',
    950: '#000000',
  },
}
SCSS
$custom: #7a1568;
$custom-light: #a46093;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1568",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 310.693,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.16033,
    "h": 336.8
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#7A1568
secondary
#3BAF50
accent
#ED5A3A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7A1568

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

Preview Lab → · Contrast checker → · Palette generator →

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