#7D1C52#7D1C52

#7D1C52 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.141 H 351.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7D1C52
RGBrgb(125, 28, 82)
HSLhsl(327, 63%, 30%)
HSVhsv(327, 78%, 49%)
CMYKcmyk(0%, 77.6%, 34.4%, 51%)
CIE-LABlab(28.90, 45.57, -8.23)
CIE-LCHlch(28.90, 46.30, 349.76°)
OKLaboklab(40.58% 0.1395 -0.0213)
OKLCHoklch(40.58% 0.141 351.3)
XYZxyz(10.3963, 5.8009, 8.5532)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C52 #1C7D47
analogous
#781C7D #7D1C52 #7D1C21
triadic
#7D1C52 #527D1C #1C527D
tetradic
#7D1C52 #7D781C #1C7D47 #1C217D
square
#7D1C52 #7D781C #1C7D47 #1C217D
split-complementary
#7D1C52 #217D1C #1C7D78
monochromatic
#190610 #4B1131 #7D1C52 #AF2773 #D43F92

Accessibility & contrast

On white

9.72
#7D1C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D1C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C52
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C52#FFFFFF#000000##FFFFFF
##7D1C521.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1c52;
/* rgb */ color: rgb(125, 28, 82);
/* oklch */ color: oklch(40.6% 0.141 351.3);
Tailwind
colors: {
  custom: {
    50: '#a76282',
    500: '#7d1c52',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c52;
$custom-light: #a76282;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c52",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 82
  },
  "hsl": {
    "h": 326.598,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.14114,
    "h": 351.3
  },
  "luminance": 0.058
}

Semantic roles & 50–950 ramp

primary
#7D1C52
secondary
#44B174
accent
#E68B41
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1C52

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

Preview Lab → · Contrast checker → · Palette generator →

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