#7C1C4F#7C1C4F

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

Color values

HEX#7C1C4F
RGBrgb(124, 28, 79)
HSLhsl(328, 63%, 30%)
HSVhsv(328, 77%, 49%)
CMYKcmyk(0%, 77.4%, 36.3%, 51.4%)
CIE-LABlab(28.59, 44.92, -6.74)
CIE-LCHlch(28.59, 45.42, 351.47°)
OKLaboklab(40.28% 0.1377 -0.0173)
OKLCHoklch(40.28% 0.139 352.8)
XYZxyz(10.1393, 5.6813, 7.9583)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1C4F #1C7C49
analogous
#791C7C #7C1C4F #7C1C1F
triadic
#7C1C4F #4F7C1C #1C4F7C
tetradic
#7C1C4F #7C791C #1C7C49 #1C1F7C
square
#7C1C4F #7C791C #1C7C49 #1C1F7C
split-complementary
#7C1C4F #1F7C1C #1C7C79
monochromatic
#190610 #4A112F #7C1C4F #AE276F #D43F8E

Accessibility & contrast

On white

9.83
#7C1C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1C4F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1C4F#FFFFFF#000000##FFFFFF
##7C1C4F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3850
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#861333
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1c4f;
/* rgb */ color: rgb(124, 28, 79);
/* oklch */ color: oklch(40.3% 0.139 352.8);
Tailwind
colors: {
  custom: {
    50: '#a66280',
    500: '#7c1c4f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1c4f;
$custom-light: #a66280;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1c4f",
  "rgb": {
    "r": 124,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 328.125,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40276,
    "c": 0.1388,
    "h": 352.8
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#7C1C4F
secondary
#44B077
accent
#E68F42
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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