#7C1A52#7C1A52

#7C1A52 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.143 H 350.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7C1A52
RGBrgb(124, 26, 82)
HSLhsl(326, 65%, 29%)
HSVhsv(326, 79%, 49%)
CMYKcmyk(0%, 79%, 33.9%, 51.4%)
CIE-LABlab(28.47, 45.96, -8.91)
CIE-LCHlch(28.47, 46.82, 349.03°)
OKLaboklab(40.22% 0.1407 -0.0232)
OKLCHoklch(40.22% 0.143 350.6)
XYZxyz(10.2051, 5.6343, 8.5311)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A52 #1A7C44
analogous
#751A7C #7C1A52 #7C1A21
triadic
#7C1A52 #527C1A #1A527C
tetradic
#7C1A52 #7C751A #1A7C44 #1A217C
square
#7C1A52 #7C751A #1A7C44 #1A217C
split-complementary
#7C1A52 #217C1A #1A7C75
monochromatic
#190511 #490F31 #7C1A52 #AF2573 #D63B93

Accessibility & contrast

On white

9.87
#7C1A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1A52
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A52#FFFFFF#000000##FFFFFF
##7C1A521.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#861234
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1a52;
/* rgb */ color: rgb(124, 26, 82);
/* oklch */ color: oklch(40.2% 0.143 350.6);
Tailwind
colors: {
  custom: {
    50: '#a66282',
    500: '#7c1a52',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a52;
$custom-light: #a66282;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a52",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 325.714,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40224,
    "c": 0.1426,
    "h": 350.6
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#7C1A52
secondary
#42B071
accent
#E88840
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1A52

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

Preview Lab → · Contrast checker → · Palette generator →

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