#7A1557#7A1557

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

Color values

HEX#7A1557
RGBrgb(122, 21, 87)
HSLhsl(321, 71%, 28%)
HSVhsv(321, 83%, 48%)
CMYKcmyk(0%, 82.8%, 28.7%, 52.2%)
CIE-LABlab(27.75, 47.60, -13.35)
CIE-LCHlch(27.75, 49.44, 344.33°)
OKLaboklab(39.69% 0.1449 -0.0354)
OKLCHoklch(39.69% 0.149 346.3)
XYZxyz(10.0150, 5.3632, 9.5228)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1557 #157A38
analogous
#6A157A #7A1557 #7A1525
triadic
#7A1557 #577A15 #15577A
tetradic
#7A1557 #7A6A15 #157A38 #15257A
square
#7A1557 #7A6A15 #157A38 #15257A
split-complementary
#7A1557 #257A15 #157A6A
monochromatic
#1A0413 #460C32 #7A1557 #AE1E7C #DB2E9F

Accessibility & contrast

On white

10.13
#7A1557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7A1557 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1557
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1557#FFFFFF#000000##FFFFFF
##7A15571.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243759
Deuteranopia (green-blind)
#434855
Tritanopia (blue-blind)
#831135
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1557;
/* rgb */ color: rgb(122, 21, 87);
/* oklch */ color: oklch(39.7% 0.149 346.3);
Tailwind
colors: {
  custom: {
    50: '#a46086',
    500: '#7a1557',
    950: '#000000',
  },
}
SCSS
$custom: #7a1557;
$custom-light: #a46086;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1557",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 87
  },
  "hsl": {
    "h": 320.792,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.14916,
    "h": 346.3
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#7A1557
secondary
#3BAF64
accent
#ED783A
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1557

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

Preview Lab → · Contrast checker → · Palette generator →

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