#7C1D64#7C1D64

#7C1D64 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.150 H 340.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7C1D64
RGBrgb(124, 29, 100)
HSLhsl(315, 62%, 30%)
HSVhsv(315, 77%, 49%)
CMYKcmyk(0%, 76.6%, 19.4%, 51.4%)
CIE-LABlab(29.63, 47.38, -18.92)
CIE-LCHlch(29.63, 51.02, 338.24°)
OKLaboklab(41.32% 0.1414 -0.0511)
OKLCHoklch(41.32% 0.15 340.1)
XYZxyz(11.0521, 6.0850, 12.6466)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D64 #1D7C35
analogous
#651D7C #7C1D64 #7C1D34
triadic
#7C1D64 #647C1D #1D647C
tetradic
#7C1D64 #7C651D #1D7C35 #1D347C
square
#7C1D64 #7C651D #1D7C35 #1D347C
split-complementary
#7C1D64 #347C1D #1D7C65
monochromatic
#190614 #4A113C #7C1D64 #AE298C #D341AE

Accessibility & contrast

On white

9.47
#7C1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7C1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D64
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D64#FFFFFF#000000##FFFFFF
##7C1D641.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243C66
Deuteranopia (green-blind)
#434B62
Tritanopia (blue-blind)
#84203E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c1d64;
/* rgb */ color: rgb(124, 29, 100);
/* oklch */ color: oklch(41.3% 0.150 340.1);
Tailwind
colors: {
  custom: {
    50: '#a56390',
    500: '#7c1d64',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d64;
$custom-light: #a56390;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d64",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 315.158,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.41324,
    "c": 0.15031,
    "h": 340.1
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#7C1D64
secondary
#45B060
accent
#E56C43
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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