#7A1D4E#7A1D4E

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

Color values

HEX#7A1D4E
RGBrgb(122, 29, 78)
HSLhsl(328, 62%, 30%)
HSVhsv(328, 76%, 48%)
CMYKcmyk(0%, 76.2%, 36.1%, 52.2%)
CIE-LABlab(28.29, 43.86, -6.56)
CIE-LCHlch(28.29, 44.35, 351.49°)
OKLaboklab(39.97% 0.1344 -0.0168)
OKLCHoklch(39.97% 0.135 352.9)
XYZxyz(9.8411, 5.5675, 7.7626)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D4E #1D7A49
analogous
#781D7A #7A1D4E #7A1D20
triadic
#7A1D4E #4E7A1D #1D4E7A
tetradic
#7A1D4E #7A781D #1D7A49 #1D207A
square
#7A1D4E #7A781D #1D7A49 #1D207A
split-complementary
#7A1D4E #207A1D #1D7A78
monochromatic
#190610 #49112E #7A1D4E #AB296E #D2408D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1D4E#FFFFFF#000000##FFFFFF
##7A1D4E1.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)
#2E384F
Deuteranopia (green-blind)
#48494C
Tritanopia (blue-blind)
#841533
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1d4e;
/* rgb */ color: rgb(122, 29, 78);
/* oklch */ color: oklch(40.0% 0.135 352.9);
Tailwind
colors: {
  custom: {
    50: '#a4627f',
    500: '#7a1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d4e;
$custom-light: #a4627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d4e",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 328.387,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39972,
    "c": 0.13545,
    "h": 352.9
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#7A1D4E
secondary
#45AE77
accent
#E59043
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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