#7C1B4A#7C1B4A

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

Color values

HEX#7C1B4A
RGBrgb(124, 27, 74)
HSLhsl(331, 64%, 30%)
HSVhsv(331, 78%, 49%)
CMYKcmyk(0%, 78.2%, 40.3%, 51.4%)
CIE-LABlab(28.29, 44.69, -3.87)
CIE-LCHlch(28.29, 44.85, 355.05°)
OKLaboklab(39.99% 0.1373 -0.0096)
OKLCHoklch(39.99% 0.138 356)
XYZxyz(9.9408, 5.5646, 7.0278)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B4A #1B7C4D
analogous
#7C1B7B #7C1B4A #7C1D1B
triadic
#7C1B4A #4A7C1B #1B4A7C
tetradic
#7C1B4A #7B7C1B #1B7C4D #1D1B7C
square
#7C1B4A #7B7C1B #1B7C4D #1D1B7C
split-complementary
#7C1B4A #1B7C1D #1B7B7C
monochromatic
#19050F #4A102C #7C1B4A #AE2668 #D53D86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1B4A#FFFFFF#000000##FFFFFF
##7C1B4A1.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)
#2F374B
Deuteranopia (green-blind)
#4A4948
Tritanopia (blue-blind)
#860E30
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1b4a;
/* rgb */ color: rgb(124, 27, 74);
/* oklch */ color: oklch(40.0% 0.138 356.0);
Tailwind
colors: {
  custom: {
    50: '#a6627c',
    500: '#7c1b4a',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b4a;
$custom-light: #a6627c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b4a",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 330.928,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3999,
    "c": 0.13761,
    "h": 356
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#7C1B4A
secondary
#43B07B
accent
#E79641
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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