#7C1C4E#7C1C4E

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

Color values

HEX#7C1C4E
RGBrgb(124, 28, 78)
HSLhsl(329, 63%, 30%)
HSVhsv(329, 77%, 49%)
CMYKcmyk(0%, 77.4%, 37.1%, 51.4%)
CIE-LABlab(28.56, 44.80, -6.13)
CIE-LCHlch(28.56, 45.22, 352.21°)
OKLaboklab(40.24% 0.1374 -0.0157)
OKLCHoklch(40.24% 0.138 353.5)
XYZxyz(10.1032, 5.6669, 7.7680)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C4E #1C7C4A
analogous
#7A1C7C #7C1C4E #7C1C1E
triadic
#7C1C4E #4E7C1C #1C4E7C
tetradic
#7C1C4E #7C7A1C #1C7C4A #1C1E7C
square
#7C1C4E #7C7A1C #1C7C4A #1C1E7C
split-complementary
#7C1C4E #1E7C1C #1C7C7A
monochromatic
#190610 #4A112F #7C1C4E #AE276D #D43F8C

Accessibility & contrast

On white

9.84
#7C1C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1C4E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C4E#FFFFFF#000000##FFFFFF
##7C1C4E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#494A4C
Tritanopia (blue-blind)
#861232
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1c4e;
/* rgb */ color: rgb(124, 28, 78);
/* oklch */ color: oklch(40.2% 0.138 353.5);
Tailwind
colors: {
  custom: {
    50: '#a6627f',
    500: '#7c1c4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c4e;
$custom-light: #a6627f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c4e",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 328.75,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.13831,
    "h": 353.5
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#7C1C4E
secondary
#44B078
accent
#E69042
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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