#7A1559#7A1559

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

Color values

HEX#7A1559
RGBrgb(122, 21, 89)
HSLhsl(320, 71%, 28%)
HSVhsv(320, 83%, 48%)
CMYKcmyk(0%, 82.8%, 27%, 52.2%)
CIE-LABlab(27.84, 47.86, -14.53)
CIE-LCHlch(27.84, 50.02, 343.11°)
OKLaboklab(39.79% 0.1453 -0.0387)
OKLCHoklch(39.79% 0.15 345.1)
XYZxyz(10.0978, 5.3963, 9.9591)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1559 #157A36
analogous
#68157A #7A1559 #7A1526
triadic
#7A1559 #597A15 #15597A
tetradic
#7A1559 #7A6815 #157A36 #15267A
square
#7A1559 #7A6815 #157A36 #15267A
split-complementary
#7A1559 #267A15 #157A68
monochromatic
#1A0413 #460C33 #7A1559 #AE1E7F #DB2EA3

Accessibility & contrast

On white

10.10
#7A1559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1559
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1559#FFFFFF#000000##FFFFFF
##7A15591.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375B
Deuteranopia (green-blind)
#424857
Tritanopia (blue-blind)
#831336
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1559;
/* rgb */ color: rgb(122, 21, 89);
/* oklch */ color: oklch(39.8% 0.150 345.1);
Tailwind
colors: {
  custom: {
    50: '#a46088',
    500: '#7a1559',
    950: '#000000',
  },
}
SCSS
$custom: #7a1559;
$custom-light: #a46088;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1559",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 319.604,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39788,
    "c": 0.15037,
    "h": 345.1
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#7A1559
secondary
#3BAF61
accent
#ED753A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1559

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

Preview Lab → · Contrast checker → · Palette generator →

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