#7A1C4F#7A1C4F

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

Color values

HEX#7A1C4F
RGBrgb(122, 28, 79)
HSLhsl(327, 63%, 29%)
HSVhsv(327, 77%, 48%)
CMYKcmyk(0%, 77%, 35.2%, 52.2%)
CIE-LABlab(28.20, 44.35, -7.36)
CIE-LCHlch(28.20, 44.95, 350.58°)
OKLaboklab(39.92% 0.1358 -0.019)
OKLCHoklch(39.92% 0.137 352)
XYZxyz(9.8532, 5.5338, 7.9449)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1C4F #1C7A47
analogous
#761C7A #7A1C4F #7A1C20
triadic
#7A1C4F #4F7A1C #1C4F7A
tetradic
#7A1C4F #7A761C #1C7A47 #1C207A
square
#7A1C4F #7A761C #1C7A47 #1C207A
split-complementary
#7A1C4F #207A1C #1C7A76
monochromatic
#190610 #48112F #7A1C4F #AC276F #D33E8F

Accessibility & contrast

On white

9.97
#7A1C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1C4F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1C4F#FFFFFF#000000##FFFFFF
##7A1C4F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3850
Deuteranopia (green-blind)
#47494D
Tritanopia (blue-blind)
#841433
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1c4f;
/* rgb */ color: rgb(122, 28, 79);
/* oklch */ color: oklch(39.9% 0.137 352.0);
Tailwind
colors: {
  custom: {
    50: '#a46280',
    500: '#7a1c4f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1c4f;
$custom-light: #a46280;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1c4f",
  "rgb": {
    "r": 122,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 327.447,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39919,
    "c": 0.13715,
    "h": 352
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#7A1C4F
secondary
#44AE74
accent
#E68D42
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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