#7C1A54#7C1A54

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

Color values

HEX#7C1A54
RGBrgb(124, 26, 84)
HSLhsl(324, 65%, 29%)
HSVhsv(324, 79%, 49%)
CMYKcmyk(0%, 79%, 32.3%, 51.4%)
CIE-LABlab(28.55, 46.21, -10.11)
CIE-LCHlch(28.55, 47.30, 347.66°)
OKLaboklab(40.31% 0.1412 -0.0264)
OKLCHoklch(40.31% 0.144 349.4)
XYZxyz(10.2824, 5.6652, 8.9378)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A54 #1A7C42
analogous
#731A7C #7C1A54 #7C1A23
triadic
#7C1A54 #547C1A #1A547C
tetradic
#7C1A54 #7C731A #1A7C42 #1A237C
square
#7C1A54 #7C731A #1A7C42 #1A237C
split-complementary
#7C1A54 #237C1A #1A7C73
monochromatic
#190511 #490F32 #7C1A54 #AF2576 #D63B96

Accessibility & contrast

On white

9.85
#7C1A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C1A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A54
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A54#FFFFFF#000000##FFFFFF
##7C1A541.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3856
Deuteranopia (green-blind)
#474A52
Tritanopia (blue-blind)
#851435
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1a54;
/* rgb */ color: rgb(124, 26, 84);
/* oklch */ color: oklch(40.3% 0.144 349.4);
Tailwind
colors: {
  custom: {
    50: '#a66284',
    500: '#7c1a54',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a54;
$custom-light: #a66284;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a54",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 324.49,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4031,
    "c": 0.1437,
    "h": 349.4
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#7C1A54
secondary
#42B06F
accent
#E88440
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1A54

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

Preview Lab → · Contrast checker → · Palette generator →

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