#7A1A4E#7A1A4E

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

Color values

HEX#7A1A4E
RGBrgb(122, 26, 78)
HSLhsl(328, 65%, 29%)
HSVhsv(328, 79%, 48%)
CMYKcmyk(0%, 78.7%, 36.1%, 52.2%)
CIE-LABlab(27.92, 44.92, -7.12)
CIE-LCHlch(27.92, 45.48, 350.99°)
OKLaboklab(39.7% 0.1377 -0.0183)
OKLCHoklch(39.7% 0.139 352.4)
XYZxyz(9.7712, 5.4276, 7.7393)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A4E #1A7A46
analogous
#761A7A #7A1A4E #7A1A1E
triadic
#7A1A4E #4E7A1A #1A4E7A
tetradic
#7A1A4E #7A761A #1A7A46 #1A1E7A
square
#7A1A4E #7A761A #1A7A46 #1A1E7A
split-complementary
#7A1A4E #1E7A1A #1A7A76
monochromatic
#190510 #480F2E #7A1A4E #AC256E #D5398E

Accessibility & contrast

On white

10.07
#7A1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A1A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A4E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A4E#FFFFFF#000000##FFFFFF
##7A1A4E1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C374F
Deuteranopia (green-blind)
#47484C
Tritanopia (blue-blind)
#841131
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1a4e;
/* rgb */ color: rgb(122, 26, 78);
/* oklch */ color: oklch(39.7% 0.139 352.4);
Tailwind
colors: {
  custom: {
    50: '#a5617f',
    500: '#7a1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a4e;
$custom-light: #a5617f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a4e",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 327.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39699,
    "c": 0.13896,
    "h": 352.4
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#7A1A4E
secondary
#41AE73
accent
#E88D40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7A1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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