#7C1568#7C1568

#7C1568 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.161 H 337.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7C1568
RGBrgb(124, 21, 104)
HSLhsl(312, 71%, 28%)
HSVhsv(312, 83%, 49%)
CMYKcmyk(0%, 83.1%, 16.1%, 51.4%)
CIE-LABlab(28.96, 50.46, -22.54)
CIE-LCHlch(28.96, 55.27, 335.93°)
OKLaboklab(40.91% 0.1494 -0.0613)
OKLCHoklch(40.91% 0.161 337.7)
XYZxyz(11.0793, 5.8220, 13.6343)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1568 #157C29
analogous
#5C157C #7C1568 #7C1535
triadic
#7C1568 #687C15 #15687C
tetradic
#7C1568 #7C5C15 #157C29 #15357C
square
#7C1568 #7C5C15 #157C29 #15357C
split-complementary
#7C1568 #357C15 #157C5C
monochromatic
#1A0416 #480C3C #7C1568 #B01E94 #DC30BA

Accessibility & contrast

On white

9.70
#7C1568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1568
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1568#FFFFFF#000000##FFFFFF
##7C15681.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3A6A
Deuteranopia (green-blind)
#3E4A66
Tritanopia (blue-blind)
#831C3E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1568;
/* rgb */ color: rgb(124, 21, 104);
/* oklch */ color: oklch(40.9% 0.161 337.7);
Tailwind
colors: {
  custom: {
    50: '#a66193',
    500: '#7c1568',
    950: '#000000',
  },
}
SCSS
$custom: #7c1568;
$custom-light: #a66193;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1568",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 311.65,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40909,
    "c": 0.16147,
    "h": 337.7
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#7C1568
secondary
#3CB152
accent
#EE5D3A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C1568

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

Preview Lab → · Contrast checker → · Palette generator →

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