#7C1D4A#7C1D4A

#7C1D4A is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.135 H 356.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7C1D4A
RGBrgb(124, 29, 74)
HSLhsl(332, 62%, 30%)
HSVhsv(332, 77%, 49%)
CMYKcmyk(0%, 76.6%, 40.3%, 51.4%)
CIE-LABlab(28.54, 43.98, -3.50)
CIE-LCHlch(28.54, 44.12, 355.45°)
OKLaboklab(40.17% 0.135 -0.0086)
OKLCHoklch(40.17% 0.135 356.3)
XYZxyz(9.9883, 5.6595, 7.0436)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D4A #1D7C4F
analogous
#7C1D7A #7C1D4A #7C1F1D
triadic
#7C1D4A #4A7C1D #1D4A7C
tetradic
#7C1D4A #7A7C1D #1D7C4F #1F1D7C
square
#7C1D4A #7A7C1D #1D7C4F #1F1D7C
split-complementary
#7C1D4A #1D7C1F #1D7A7C
monochromatic
#19060F #4A112C #7C1D4A #AE2968 #D34186

Accessibility & contrast

On white

9.85
#7C1D4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C1D4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D4A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D4A#FFFFFF#000000##FFFFFF
##7C1D4A1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30384B
Deuteranopia (green-blind)
#4A4A48
Tritanopia (blue-blind)
#861131
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1d4a;
/* rgb */ color: rgb(124, 29, 74);
/* oklch */ color: oklch(40.2% 0.135 356.3);
Tailwind
colors: {
  custom: {
    50: '#a6627c',
    500: '#7c1d4a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d4a;
$custom-light: #a6627c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d4a",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 331.579,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.40174,
    "c": 0.1353,
    "h": 356.3
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#7C1D4A
secondary
#45B07D
accent
#E59843
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C1D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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