#7C1D4E#7C1D4E

#7C1D4E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.137 H 353.7°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7C1D4E
RGBrgb(124, 29, 78)
HSLhsl(329, 62%, 30%)
HSVhsv(329, 77%, 49%)
CMYKcmyk(0%, 76.6%, 37.1%, 51.4%)
CIE-LABlab(28.68, 44.45, -5.94)
CIE-LCHlch(28.68, 44.84, 352.39°)
OKLaboklab(40.33% 0.1363 -0.0152)
OKLCHoklch(40.33% 0.137 353.7)
XYZxyz(10.1273, 5.7151, 7.7761)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D4E #1D7C4B
analogous
#7B1D7C #7C1D4E #7C1D1E
triadic
#7C1D4E #4E7C1D #1D4E7C
tetradic
#7C1D4E #7C7B1D #1D7C4B #1D1E7C
square
#7C1D4E #7C7B1D #1D7C4B #1D1E7C
split-complementary
#7C1D4E #1E7C1D #1D7C7B
monochromatic
#190610 #4A112F #7C1D4E #AE296D #D3418C

Accessibility & contrast

On white

9.80
#7C1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7C1D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D4E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D4E#FFFFFF#000000##FFFFFF
##7C1D4E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F394F
Deuteranopia (green-blind)
#494A4C
Tritanopia (blue-blind)
#861433
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1d4e;
/* rgb */ color: rgb(124, 29, 78);
/* oklch */ color: oklch(40.3% 0.137 353.7);
Tailwind
colors: {
  custom: {
    50: '#a6637f',
    500: '#7c1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d4e;
$custom-light: #a6637f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d4e",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 329.053,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.13714,
    "h": 353.7
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#7C1D4E
secondary
#45B079
accent
#E59143
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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