#7A1558#7A1558

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

Color values

HEX#7A1558
RGBrgb(122, 21, 88)
HSLhsl(320, 71%, 28%)
HSVhsv(320, 83%, 48%)
CMYKcmyk(0%, 82.8%, 27.9%, 52.2%)
CIE-LABlab(27.79, 47.73, -13.94)
CIE-LCHlch(27.79, 49.73, 343.72°)
OKLaboklab(39.74% 0.1451 -0.037)
OKLCHoklch(39.74% 0.15 345.7)
XYZxyz(10.0561, 5.3796, 9.7394)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1558 #157A37
analogous
#69157A #7A1558 #7A1525
triadic
#7A1558 #587A15 #15587A
tetradic
#7A1558 #7A6915 #157A37 #15257A
square
#7A1558 #7A6915 #157A37 #15257A
split-complementary
#7A1558 #257A15 #157A69
monochromatic
#1A0413 #460C32 #7A1558 #AE1E7E #DB2EA1

Accessibility & contrast

On white

10.12
#7A1558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1558
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1558#FFFFFF#000000##FFFFFF
##7A15581.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24375A
Deuteranopia (green-blind)
#434856
Tritanopia (blue-blind)
#831235
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1558;
/* rgb */ color: rgb(122, 21, 88);
/* oklch */ color: oklch(39.7% 0.150 345.7);
Tailwind
colors: {
  custom: {
    50: '#a46087',
    500: '#7a1558',
    950: '#000000',
  },
}
SCSS
$custom: #7a1558;
$custom-light: #a46087;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1558",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 320.198,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39741,
    "c": 0.14976,
    "h": 345.7
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#7A1558
secondary
#3BAF62
accent
#ED773A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1558

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

Preview Lab → · Contrast checker → · Palette generator →

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