#7C1A4A#7C1A4A

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

Color values

HEX#7C1A4A
RGBrgb(124, 26, 74)
HSLhsl(331, 65%, 29%)
HSVhsv(331, 79%, 49%)
CMYKcmyk(0%, 79%, 40.3%, 51.4%)
CIE-LABlab(28.17, 45.03, -4.05)
CIE-LCHlch(28.17, 45.21, 354.86°)
OKLaboklab(39.9% 0.1384 -0.0101)
OKLCHoklch(39.9% 0.139 355.8)
XYZxyz(9.9183, 5.5195, 7.0203)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A4A #1A7C4C
analogous
#7C1A7B #7C1A4A #7C1B1A
triadic
#7C1A4A #4A7C1A #1A4A7C
tetradic
#7C1A4A #7B7C1A #1A7C4C #1B1A7C
square
#7C1A4A #7B7C1A #1A7C4C #1B1A7C
split-complementary
#7C1A4A #1A7C1B #1A7B7C
monochromatic
#19050F #490F2C #7C1A4A #AF2568 #D63B87

Accessibility & contrast

On white

9.98
#7C1A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7C1A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A4A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A4A#FFFFFF#000000##FFFFFF
##7C1A4A1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374B
Deuteranopia (green-blind)
#494948
Tritanopia (blue-blind)
#860D2F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1a4a;
/* rgb */ color: rgb(124, 26, 74);
/* oklch */ color: oklch(39.9% 0.139 355.8);
Tailwind
colors: {
  custom: {
    50: '#a6617c',
    500: '#7c1a4a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a4a;
$custom-light: #a6617c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a4a",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 330.612,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39903,
    "c": 0.13872,
    "h": 355.8
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#7C1A4A
secondary
#42B07A
accent
#E89640
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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