#7C1D4F#7C1D4F

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

Color values

HEX#7C1D4F
RGBrgb(124, 29, 79)
HSLhsl(328, 62%, 30%)
HSVhsv(328, 77%, 49%)
CMYKcmyk(0%, 76.6%, 36.3%, 51.4%)
CIE-LABlab(28.72, 44.56, -6.55)
CIE-LCHlch(28.72, 45.04, 351.64°)
OKLaboklab(40.37% 0.1366 -0.0168)
OKLCHoklch(40.37% 0.138 353)
XYZxyz(10.1634, 5.7295, 7.9663)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D4F #1D7C4A
analogous
#7A1D7C #7C1D4F #7C1D1F
triadic
#7C1D4F #4F7C1D #1D4F7C
tetradic
#7C1D4F #7C7A1D #1D7C4A #1D1F7C
square
#7C1D4F #7C7A1D #1D7C4A #1D1F7C
split-complementary
#7C1D4F #1F7C1D #1D7C7A
monochromatic
#190610 #4A112F #7C1D4F #AE296F #D3418E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1D4F#FFFFFF#000000##FFFFFF
##7C1D4F1.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)
#2E3950
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#861433
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1d4f;
/* rgb */ color: rgb(124, 29, 79);
/* oklch */ color: oklch(40.4% 0.138 353.0);
Tailwind
colors: {
  custom: {
    50: '#a66380',
    500: '#7c1d4f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d4f;
$custom-light: #a66380;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d4f",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 328.421,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.40368,
    "c": 0.13763,
    "h": 353
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#7C1D4F
secondary
#45B078
accent
#E59043
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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