#7C1566#7C1566

#7C1566 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.160 H 338.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7C1566
RGBrgb(124, 21, 102)
HSLhsl(313, 71%, 28%)
HSVhsv(313, 83%, 49%)
CMYKcmyk(0%, 83.1%, 17.7%, 51.4%)
CIE-LABlab(28.86, 50.17, -21.41)
CIE-LCHlch(28.86, 54.54, 336.89°)
OKLaboklab(40.8% 0.1492 -0.0581)
OKLCHoklch(40.8% 0.16 338.7)
XYZxyz(10.9789, 5.7818, 13.1056)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1566 #157C2B
analogous
#5E157C #7C1566 #7C1532
triadic
#7C1566 #667C15 #15667C
tetradic
#7C1566 #7C5E15 #157C2B #15327C
square
#7C1566 #7C5E15 #157C2B #15327C
split-complementary
#7C1566 #327C15 #157C5E
monochromatic
#1A0416 #480C3B #7C1566 #B01E91 #DC30B7

Accessibility & contrast

On white

9.74
#7C1566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1566
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1566#FFFFFF#000000##FFFFFF
##7C15661.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3A68
Deuteranopia (green-blind)
#3F4A64
Tritanopia (blue-blind)
#831B3D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1566;
/* rgb */ color: rgb(124, 21, 102);
/* oklch */ color: oklch(40.8% 0.160 338.7);
Tailwind
colors: {
  custom: {
    50: '#a66192',
    500: '#7c1566',
    950: '#000000',
  },
}
SCSS
$custom: #7c1566;
$custom-light: #a66192;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1566",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 312.816,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40801,
    "c": 0.16008,
    "h": 338.7
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#7C1566
secondary
#3CB155
accent
#EE603A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D

Preview Lab

Preview with #7C1566

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

Preview Lab → · Contrast checker → · Palette generator →

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