#7C1D4D#7C1D4D

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

Color values

HEX#7C1D4D
RGBrgb(124, 29, 77)
HSLhsl(330, 62%, 30%)
HSVhsv(330, 77%, 49%)
CMYKcmyk(0%, 76.6%, 37.9%, 51.4%)
CIE-LABlab(28.64, 44.33, -5.33)
CIE-LCHlch(28.64, 44.65, 353.14°)
OKLaboklab(40.29% 0.136 -0.0135)
OKLCHoklch(40.29% 0.137 354.3)
XYZxyz(10.0917, 5.7009, 7.5887)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D4D #1D7C4C
analogous
#7C1D7C #7C1D4D #7C1D1D
triadic
#7C1D4D #4D7C1D #1D4D7C
tetradic
#7C1D4D #7C7C1D #1D7C4C #1D1D7C
square
#7C1D4D #7C7C1D #1D7C4C #1D1D7C
split-complementary
#7C1D4D #1D7C1D #1D7C7C
monochromatic
#19060F #4A112E #7C1D4D #AE296C #D3418A

Accessibility & contrast

On white

9.81
#7C1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1D4D
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D4D#FFFFFF#000000##FFFFFF
##7C1D4D1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#861332
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1d4d;
/* rgb */ color: rgb(124, 29, 77);
/* oklch */ color: oklch(40.3% 0.137 354.3);
Tailwind
colors: {
  custom: {
    50: '#a6637e',
    500: '#7c1d4d',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d4d;
$custom-light: #a6637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d4d",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 329.684,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.13666,
    "h": 354.3
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#7C1D4D
secondary
#45B07A
accent
#E59343
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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