#7C1A4C#7C1A4C

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

Color values

HEX#7C1A4C
RGBrgb(124, 26, 76)
HSLhsl(329, 65%, 29%)
HSVhsv(329, 79%, 49%)
CMYKcmyk(0%, 79%, 38.7%, 51.4%)
CIE-LABlab(28.24, 45.25, -5.27)
CIE-LCHlch(28.24, 45.56, 353.35°)
OKLaboklab(39.98% 0.139 -0.0133)
OKLCHoklch(39.98% 0.14 354.5)
XYZxyz(9.9867, 5.5469, 7.3808)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A4C #1A7C4A
analogous
#7B1A7C #7C1A4C #7C1A1B
triadic
#7C1A4C #4C7C1A #1A4C7C
tetradic
#7C1A4C #7C7B1A #1A7C4A #1A1B7C
square
#7C1A4C #7C7B1A #1A7C4A #1A1B7C
split-complementary
#7C1A4C #1B7C1A #1A7C7B
monochromatic
#190510 #490F2D #7C1A4C #AF256B #D63B8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1A4C#FFFFFF#000000##FFFFFF
##7C1A4C1.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)
#2D374D
Deuteranopia (green-blind)
#49494A
Tritanopia (blue-blind)
#860E30
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1a4c;
/* rgb */ color: rgb(124, 26, 76);
/* oklch */ color: oklch(40.0% 0.140 354.5);
Tailwind
colors: {
  custom: {
    50: '#a6617e',
    500: '#7c1a4c',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a4c;
$custom-light: #a6617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a4c",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 329.388,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3998,
    "c": 0.13962,
    "h": 354.5
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#7C1A4C
secondary
#42B078
accent
#E89240
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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