#7C1D52#7C1D52

#7C1D52 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.139 H 351.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7C1D52
RGBrgb(124, 29, 82)
HSLhsl(327, 62%, 30%)
HSVhsv(327, 77%, 49%)
CMYKcmyk(0%, 76.6%, 33.9%, 51.4%)
CIE-LABlab(28.84, 44.93, -8.36)
CIE-LCHlch(28.84, 45.70, 349.46°)
OKLaboklab(40.49% 0.1375 -0.0217)
OKLCHoklch(40.49% 0.139 351)
XYZxyz(10.2751, 5.7742, 8.5544)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D52 #1D7C47
analogous
#761D7C #7C1D52 #7C1D23
triadic
#7C1D52 #527C1D #1D527C
tetradic
#7C1D52 #7C761D #1D7C47 #1D237C
square
#7C1D52 #7C761D #1D7C47 #1D237C
split-complementary
#7C1D52 #237C1D #1D7C76
monochromatic
#190610 #4A1131 #7C1D52 #AE2973 #D34192

Accessibility & contrast

On white

9.75
#7C1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1D52
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D52#FFFFFF#000000##FFFFFF
##7C1D521.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1d52;
/* rgb */ color: rgb(124, 29, 82);
/* oklch */ color: oklch(40.5% 0.139 351.0);
Tailwind
colors: {
  custom: {
    50: '#a66382',
    500: '#7c1d52',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d52;
$custom-light: #a66382;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d52",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 326.526,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.40491,
    "c": 0.13916,
    "h": 351
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#7C1D52
secondary
#45B074
accent
#E58A43
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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