#7A1756#7A1756

#7A1756 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.147 H 347.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7A1756
RGBrgb(122, 23, 86)
HSLhsl(322, 68%, 28%)
HSVhsv(322, 81%, 48%)
CMYKcmyk(0%, 81.1%, 29.5%, 52.2%)
CIE-LABlab(27.91, 46.88, -12.44)
CIE-LCHlch(27.91, 48.50, 345.14°)
OKLaboklab(39.8% 0.1428 -0.0329)
OKLCHoklch(39.8% 0.147 347)
XYZxyz(10.0126, 5.4234, 9.3218)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1756 #177A3B
analogous
#6C177A #7A1756 #7A1724
triadic
#7A1756 #567A17 #17567A
tetradic
#7A1756 #7A6C17 #177A3B #17247A
square
#7A1756 #7A6C17 #177A3B #17247A
split-complementary
#7A1756 #247A17 #177A6C
monochromatic
#1A0512 #470D32 #7A1756 #AD217A #D9339C

Accessibility & contrast

On white

10.07
#7A1756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7A1756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1756
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1756#FFFFFF#000000##FFFFFF
##7A17561.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263758
Deuteranopia (green-blind)
#444854
Tritanopia (blue-blind)
#831335
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1756;
/* rgb */ color: rgb(122, 23, 86);
/* oklch */ color: oklch(39.8% 0.147 347.0);
Tailwind
colors: {
  custom: {
    50: '#a46085',
    500: '#7a1756',
    950: '#000000',
  },
}
SCSS
$custom: #7a1756;
$custom-light: #a46085;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1756",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 321.818,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39798,
    "c": 0.14657,
    "h": 347
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#7A1756
secondary
#3EAF67
accent
#EB7C3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1756

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

Preview Lab → · Contrast checker → · Palette generator →

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