#7A1D56#7A1D56

#7A1D56 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.140 H 347.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7A1D56
RGBrgb(122, 29, 86)
HSLhsl(323, 62%, 30%)
HSVhsv(323, 76%, 48%)
CMYKcmyk(0%, 76.2%, 29.5%, 52.2%)
CIE-LABlab(28.61, 44.88, -11.37)
CIE-LCHlch(28.61, 46.29, 345.79°)
OKLaboklab(40.31% 0.1366 -0.0299)
OKLCHoklch(40.31% 0.14 347.6)
XYZxyz(10.1456, 5.6893, 9.3661)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D56 #1D7A41
analogous
#701D7A #7A1D56 #7A1D28
triadic
#7A1D56 #567A1D #1D567A
tetradic
#7A1D56 #7A701D #1D7A41 #1D287A
square
#7A1D56 #7A701D #1D7A41 #1D287A
split-complementary
#7A1D56 #287A1D #1D7A70
monochromatic
#190611 #491133 #7A1D56 #AB2979 #D24099

Accessibility & contrast

On white

9.82
#7A1D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1D56
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D56#FFFFFF#000000##FFFFFF
##7A1D561.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#464954
Tritanopia (blue-blind)
#831937
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1d56;
/* rgb */ color: rgb(122, 29, 86);
/* oklch */ color: oklch(40.3% 0.140 347.6);
Tailwind
colors: {
  custom: {
    50: '#a46385',
    500: '#7a1d56',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d56;
$custom-light: #a46385;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d56",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 86
  },
  "hsl": {
    "h": 323.226,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40312,
    "c": 0.13983,
    "h": 347.6
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#7A1D56
secondary
#45AE6E
accent
#E58243
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1D56

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

Preview Lab → · Contrast checker → · Palette generator →

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