#7A1C56#7A1C56

#7A1C56 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.141 H 347.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7A1C56
RGBrgb(122, 28, 86)
HSLhsl(323, 63%, 29%)
HSVhsv(323, 77%, 48%)
CMYKcmyk(0%, 77%, 29.5%, 52.2%)
CIE-LABlab(28.49, 45.23, -11.56)
CIE-LCHlch(28.49, 46.69, 345.67°)
OKLaboklab(40.22% 0.1377 -0.0305)
OKLCHoklch(40.22% 0.141 347.5)
XYZxyz(10.1215, 5.6411, 9.3581)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C56 #1C7A40
analogous
#6F1C7A #7A1C56 #7A1C27
triadic
#7A1C56 #567A1C #1C567A
tetradic
#7A1C56 #7A6F1C #1C7A40 #1C277A
square
#7A1C56 #7A6F1C #1C7A40 #1C277A
split-complementary
#7A1C56 #277A1C #1C7A6F
monochromatic
#190612 #481133 #7A1C56 #AC2779 #D33E9A

Accessibility & contrast

On white

9.87
#7A1C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C56
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C56#FFFFFF#000000##FFFFFF
##7A1C561.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1c56;
/* rgb */ color: rgb(122, 28, 86);
/* oklch */ color: oklch(40.2% 0.141 347.5);
Tailwind
colors: {
  custom: {
    50: '#a46285',
    500: '#7a1c56',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c56;
$custom-light: #a46285;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c56",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 86
  },
  "hsl": {
    "h": 322.979,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.14103,
    "h": 347.5
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#7A1C56
secondary
#44AE6C
accent
#E68142
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1C56

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

Preview Lab → · Contrast checker → · Palette generator →

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