#7A1D4C#7A1D4C

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

Color values

HEX#7A1D4C
RGBrgb(122, 29, 76)
HSLhsl(330, 62%, 30%)
HSVhsv(330, 76%, 48%)
CMYKcmyk(0%, 76.2%, 37.7%, 52.2%)
CIE-LABlab(28.22, 43.62, -5.34)
CIE-LCHlch(28.22, 43.95, 353.02°)
OKLaboklab(39.89% 0.1338 -0.0136)
OKLCHoklch(39.89% 0.134 354.2)
XYZxyz(9.7705, 5.5393, 7.3907)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D4C #1D7A4B
analogous
#791D7A #7A1D4C #7A1D1E
triadic
#7A1D4C #4C7A1D #1D4C7A
tetradic
#7A1D4C #7A791D #1D7A4B #1D1E7A
square
#7A1D4C #7A791D #1D7A4B #1D1E7A
split-complementary
#7A1D4C #1E7A1D #1D7A79
monochromatic
#19060F #49112D #7A1D4C #AB296B #D24089

Accessibility & contrast

On white

9.96
#7A1D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1D4C
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D4C#FFFFFF#000000##FFFFFF
##7A1D4C1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384D
Deuteranopia (green-blind)
#48494A
Tritanopia (blue-blind)
#841432
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1d4c;
/* rgb */ color: rgb(122, 29, 76);
/* oklch */ color: oklch(39.9% 0.134 354.2);
Tailwind
colors: {
  custom: {
    50: '#a4627e',
    500: '#7a1d4c',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d4c;
$custom-light: #a4627e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d4c",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 329.677,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39893,
    "c": 0.13448,
    "h": 354.2
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#7A1D4C
secondary
#45AE79
accent
#E59343
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A1D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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