#7A1565#7A1565

#7A1565 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.158 H 338.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7A1565
RGBrgb(122, 21, 101)
HSLhsl(312, 71%, 28%)
HSVhsv(312, 83%, 48%)
CMYKcmyk(0%, 82.8%, 17.2%, 52.2%)
CIE-LABlab(28.42, 49.54, -21.47)
CIE-LCHlch(28.42, 54.00, 336.57°)
OKLaboklab(40.4% 0.1471 -0.0583)
OKLCHoklch(40.4% 0.158 338.4)
XYZxyz(10.6434, 5.6145, 12.8326)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1565 #157A2A
analogous
#5C157A #7A1565 #7A1533
triadic
#7A1565 #657A15 #15657A
tetradic
#7A1565 #7A5C15 #157A2A #15337A
square
#7A1565 #7A5C15 #157A2A #15337A
split-complementary
#7A1565 #337A15 #157A5C
monochromatic
#1A0416 #460C3A #7A1565 #AE1E90 #DB2EB7

Accessibility & contrast

On white

9.89
#7A1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7A1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1565
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1565#FFFFFF#000000##FFFFFF
##7A15651.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3967
Deuteranopia (green-blind)
#3E4963
Tritanopia (blue-blind)
#811B3C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1565;
/* rgb */ color: rgb(122, 21, 101);
/* oklch */ color: oklch(40.4% 0.158 338.4);
Tailwind
colors: {
  custom: {
    50: '#a46091',
    500: '#7a1565',
    950: '#000000',
  },
}
SCSS
$custom: #7a1565;
$custom-light: #a46091;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1565",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 312.475,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.15823,
    "h": 338.4
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#7A1565
secondary
#3BAF53
accent
#ED603A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A1565

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

Preview Lab → · Contrast checker → · Palette generator →

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