#7C1564#7C1564

#7C1564 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.159 H 339.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7C1564
RGBrgb(124, 21, 100)
HSLhsl(314, 71%, 28%)
HSVhsv(314, 83%, 49%)
CMYKcmyk(0%, 83.1%, 19.4%, 51.4%)
CIE-LABlab(28.75, 49.88, -20.27)
CIE-LCHlch(28.75, 53.84, 337.88°)
OKLaboklab(40.7% 0.149 -0.0548)
OKLCHoklch(40.7% 0.159 339.8)
XYZxyz(10.8809, 5.7426, 12.5895)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1564 #157C2D
analogous
#60157C #7C1564 #7C1530
triadic
#7C1564 #647C15 #15647C
tetradic
#7C1564 #7C6015 #157C2D #15307C
square
#7C1564 #7C6015 #157C2D #15307C
split-complementary
#7C1564 #307C15 #157C60
monochromatic
#1A0415 #480C3A #7C1564 #B01E8E #DC30B4

Accessibility & contrast

On white

9.77
#7C1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7C1564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1564
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1564#FFFFFF#000000##FFFFFF
##7C15641.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3A66
Deuteranopia (green-blind)
#404962
Tritanopia (blue-blind)
#84193C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1564;
/* rgb */ color: rgb(124, 21, 100);
/* oklch */ color: oklch(40.7% 0.159 339.8);
Tailwind
colors: {
  custom: {
    50: '#a66090',
    500: '#7c1564',
    950: '#000000',
  },
}
SCSS
$custom: #7c1564;
$custom-light: #a66090;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1564",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 313.981,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40695,
    "c": 0.15873,
    "h": 339.8
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#7C1564
secondary
#3CB157
accent
#EE643A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C1564

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

Preview Lab → · Contrast checker → · Palette generator →

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