#7A1A56#7A1A56

#7A1A56 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.143 H 347.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7A1A56
RGBrgb(122, 26, 86)
HSLhsl(323, 65%, 29%)
HSVhsv(323, 79%, 48%)
CMYKcmyk(0%, 78.7%, 29.5%, 52.2%)
CIE-LABlab(28.25, 45.92, -11.93)
CIE-LCHlch(28.25, 47.44, 345.44°)
OKLaboklab(40.04% 0.1398 -0.0315)
OKLCHoklch(40.04% 0.143 347.3)
XYZxyz(10.0756, 5.5494, 9.3428)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A56 #1A7A3E
analogous
#6E1A7A #7A1A56 #7A1A26
triadic
#7A1A56 #567A1A #1A567A
tetradic
#7A1A56 #7A6E1A #1A7A3E #1A267A
square
#7A1A56 #7A6E1A #1A7A3E #1A267A
split-complementary
#7A1A56 #267A1A #1A7A6E
monochromatic
#190512 #480F32 #7A1A56 #AC257A #D5399B

Accessibility & contrast

On white

9.95
#7A1A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1A56
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A56#FFFFFF#000000##FFFFFF
##7A1A561.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283858
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#831636
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1a56;
/* rgb */ color: rgb(122, 26, 86);
/* oklch */ color: oklch(40.0% 0.143 347.3);
Tailwind
colors: {
  custom: {
    50: '#a46185',
    500: '#7a1a56',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a56;
$custom-light: #a46185;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a56",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 322.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.14334,
    "h": 347.3
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#7A1A56
secondary
#41AE6A
accent
#E87F40
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1A56

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

Preview Lab → · Contrast checker → · Palette generator →

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