#7C1C52#7C1C52

#7C1C52 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.140 H 350.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7C1C52
RGBrgb(124, 28, 82)
HSLhsl(326, 63%, 30%)
HSVhsv(326, 77%, 49%)
CMYKcmyk(0%, 77.4%, 33.9%, 51.4%)
CIE-LABlab(28.71, 45.28, -8.55)
CIE-LCHlch(28.71, 46.08, 349.31°)
OKLaboklab(40.4% 0.1386 -0.0222)
OKLCHoklch(40.4% 0.14 350.9)
XYZxyz(10.2510, 5.7260, 8.5464)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C52 #1C7C46
analogous
#761C7C #7C1C52 #7C1C22
triadic
#7C1C52 #527C1C #1C527C
tetradic
#7C1C52 #7C761C #1C7C46 #1C227C
square
#7C1C52 #7C761C #1C7C46 #1C227C
split-complementary
#7C1C52 #227C1C #1C7C76
monochromatic
#190611 #4A1131 #7C1C52 #AE2773 #D43F93

Accessibility & contrast

On white

9.79
#7C1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7C1C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1C52
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C52#FFFFFF#000000##FFFFFF
##7C1C521.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3953
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#861534
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1c52;
/* rgb */ color: rgb(124, 28, 82);
/* oklch */ color: oklch(40.4% 0.140 350.9);
Tailwind
colors: {
  custom: {
    50: '#a66282',
    500: '#7c1c52',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c52;
$custom-light: #a66282;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c52",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 326.25,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.14035,
    "h": 350.9
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#7C1C52
secondary
#44B073
accent
#E68A42
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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