#7C1F52#7C1F52

#7C1F52 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.137 H 351.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7C1F52
RGBrgb(124, 31, 82)
HSLhsl(327, 60%, 30%)
HSVhsv(327, 75%, 49%)
CMYKcmyk(0%, 75%, 33.9%, 51.4%)
CIE-LABlab(29.10, 44.20, -7.96)
CIE-LCHlch(29.10, 44.91, 349.79°)
OKLaboklab(40.68% 0.1352 -0.0206)
OKLCHoklch(40.68% 0.137 351.3)
XYZxyz(10.3257, 5.8754, 8.5713)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F52 #1F7C49
analogous
#771F7C #7C1F52 #7C1F23
triadic
#7C1F52 #527C1F #1F527C
tetradic
#7C1F52 #7C771F #1F7C49 #1F237C
square
#7C1F52 #7C771F #1F7C49 #1F237C
split-complementary
#7C1F52 #237C1F #1F7C77
monochromatic
#1A0711 #4B1332 #7C1F52 #AD2B72 #D04591

Accessibility & contrast

On white

9.66
#7C1F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C1F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1F52
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F52#FFFFFF#000000##FFFFFF
##7C1F521.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#861835
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1f52;
/* rgb */ color: rgb(124, 31, 82);
/* oklch */ color: oklch(40.7% 0.137 351.3);
Tailwind
colors: {
  custom: {
    50: '#a66482',
    500: '#7c1f52',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f52;
$custom-light: #a66482;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f52",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 327.097,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.13673,
    "h": 351.3
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#7C1F52
secondary
#48AF76
accent
#E38C45
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1F52

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

Preview Lab → · Contrast checker → · Palette generator →

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