#7C1A4D#7C1A4D

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

Color values

HEX#7C1A4D
RGBrgb(124, 26, 77)
HSLhsl(329, 65%, 29%)
HSVhsv(329, 79%, 49%)
CMYKcmyk(0%, 79%, 37.9%, 51.4%)
CIE-LABlab(28.28, 45.37, -5.88)
CIE-LCHlch(28.28, 45.75, 352.61°)
OKLaboklab(40.02% 0.1393 -0.015)
OKLCHoklch(40.02% 0.14 353.9)
XYZxyz(10.0218, 5.5609, 7.5654)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A4D #1A7C49
analogous
#7A1A7C #7C1A4D #7C1A1C
triadic
#7C1A4D #4D7C1A #1A4D7C
tetradic
#7C1A4D #7C7A1A #1A7C49 #1A1C7C
square
#7C1A4D #7C7A1A #1A7C49 #1A1C7C
split-complementary
#7C1A4D #1C7C1A #1A7C7A
monochromatic
#190510 #490F2E #7C1A4D #AF256C #D63B8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1A4D#FFFFFF#000000##FFFFFF
##7C1A4D1.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)
#2D374E
Deuteranopia (green-blind)
#49494B
Tritanopia (blue-blind)
#860F31
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1a4d;
/* rgb */ color: rgb(124, 26, 77);
/* oklch */ color: oklch(40.0% 0.140 353.9);
Tailwind
colors: {
  custom: {
    50: '#a6617e',
    500: '#7c1a4d',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a4d;
$custom-light: #a6617e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a4d",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 328.776,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40019,
    "c": 0.14008,
    "h": 353.9
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#7C1A4D
secondary
#42B077
accent
#E89040
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C1A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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