#7C1563#7C1563

#7C1563 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.158 H 340.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7C1563
RGBrgb(124, 21, 99)
HSLhsl(315, 71%, 28%)
HSVhsv(315, 83%, 49%)
CMYKcmyk(0%, 83.1%, 20.2%, 51.4%)
CIE-LABlab(28.70, 49.73, -19.70)
CIE-LCHlch(28.70, 53.49, 338.39°)
OKLaboklab(40.64% 0.1488 -0.0532)
OKLCHoklch(40.64% 0.158 340.3)
XYZxyz(10.8328, 5.7234, 12.3362)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1563 #157C2E
analogous
#61157C #7C1563 #7C152F
triadic
#7C1563 #637C15 #15637C
tetradic
#7C1563 #7C6115 #157C2E #152F7C
square
#7C1563 #7C6115 #157C2E #152F7C
split-complementary
#7C1563 #2F7C15 #157C61
monochromatic
#1A0415 #480C39 #7C1563 #B01E8D #DC30B2

Accessibility & contrast

On white

9.79
#7C1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1563
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1563#FFFFFF#000000##FFFFFF
##7C15631.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3965
Deuteranopia (green-blind)
#404961
Tritanopia (blue-blind)
#84193B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1563;
/* rgb */ color: rgb(124, 21, 99);
/* oklch */ color: oklch(40.6% 0.158 340.3);
Tailwind
colors: {
  custom: {
    50: '#a6608f',
    500: '#7c1563',
    950: '#000000',
  },
}
SCSS
$custom: #7c1563;
$custom-light: #a6608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1563",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 314.563,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.15805,
    "h": 340.3
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#7C1563
secondary
#3CB158
accent
#EE663A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C1563

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

Preview Lab → · Contrast checker → · Palette generator →

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