#7A1A52#7A1A52

#7A1A52 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.141 H 349.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7A1A52
RGBrgb(122, 26, 82)
HSLhsl(325, 65%, 29%)
HSVhsv(325, 79%, 48%)
CMYKcmyk(0%, 78.7%, 32.8%, 52.2%)
CIE-LABlab(28.08, 45.41, -9.54)
CIE-LCHlch(28.08, 46.40, 348.14°)
OKLaboklab(39.87% 0.1388 -0.0249)
OKLCHoklch(39.87% 0.141 349.8)
XYZxyz(9.9190, 5.4867, 8.5177)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A52 #1A7A42
analogous
#721A7A #7A1A52 #7A1A22
triadic
#7A1A52 #527A1A #1A527A
tetradic
#7A1A52 #7A721A #1A7A42 #1A227A
square
#7A1A52 #7A721A #1A7A42 #1A227A
split-complementary
#7A1A52 #227A1A #1A7A72
monochromatic
#190511 #480F30 #7A1A52 #AC2574 #D53994

Accessibility & contrast

On white

10.01
#7A1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7A1A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A52
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A52#FFFFFF#000000##FFFFFF
##7A1A521.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3753
Deuteranopia (green-blind)
#464850
Tritanopia (blue-blind)
#831433
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1a52;
/* rgb */ color: rgb(122, 26, 82);
/* oklch */ color: oklch(39.9% 0.141 349.8);
Tailwind
colors: {
  custom: {
    50: '#a46182',
    500: '#7a1a52',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a52;
$custom-light: #a46182;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a52",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 325,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39866,
    "c": 0.14106,
    "h": 349.8
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#7A1A52
secondary
#41AE6F
accent
#E88640
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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