#7A1A57#7A1A57

#7A1A57 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.144 H 346.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7A1A57
RGBrgb(122, 26, 87)
HSLhsl(322, 65%, 29%)
HSVhsv(322, 79%, 48%)
CMYKcmyk(0%, 78.7%, 28.7%, 52.2%)
CIE-LABlab(28.29, 46.05, -12.52)
CIE-LCHlch(28.29, 47.72, 344.79°)
OKLaboklab(40.09% 0.1401 -0.0331)
OKLCHoklch(40.09% 0.144 346.7)
XYZxyz(10.1162, 5.5656, 9.5565)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A57 #1A7A3D
analogous
#6D1A7A #7A1A57 #7A1A27
triadic
#7A1A57 #577A1A #1A577A
tetradic
#7A1A57 #7A6D1A #1A7A3D #1A277A
square
#7A1A57 #7A6D1A #1A7A3D #1A277A
split-complementary
#7A1A57 #277A1A #1A7A6D
monochromatic
#190512 #480F33 #7A1A57 #AC257B #D5399C

Accessibility & contrast

On white

9.94
#7A1A57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A1A57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A57
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A57#FFFFFF#000000##FFFFFF
##7A1A571.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283859
Deuteranopia (green-blind)
#444955
Tritanopia (blue-blind)
#831736
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1a57;
/* rgb */ color: rgb(122, 26, 87);
/* oklch */ color: oklch(40.1% 0.144 346.7);
Tailwind
colors: {
  custom: {
    50: '#a46186',
    500: '#7a1a57',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a57;
$custom-light: #a46186;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a57",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 87
  },
  "hsl": {
    "h": 321.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40088,
    "c": 0.14393,
    "h": 346.7
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#7A1A57
secondary
#41AE69
accent
#E87D40
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1A57

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

Preview Lab → · Contrast checker → · Palette generator →

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