#7C156A#7C156A

#7C156A is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.163 H 336.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7C156A
RGBrgb(124, 21, 106)
HSLhsl(310, 71%, 28%)
HSVhsv(310, 83%, 49%)
CMYKcmyk(0%, 83.1%, 14.5%, 51.4%)
CIE-LABlab(29.06, 50.76, -23.67)
CIE-LCHlch(29.06, 56.00, 335.00°)
OKLaboklab(41.02% 0.1495 -0.0645)
OKLCHoklch(41.02% 0.163 336.7)
XYZxyz(11.1821, 5.8631, 14.1757)
Luminance0.0586 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C156A #157C27
analogous
#5A157C #7C156A #7C1537
triadic
#7C156A #6A7C15 #156A7C
tetradic
#7C156A #7C5A15 #157C27 #15377C
square
#7C156A #7C5A15 #157C27 #15377C
split-complementary
#7C156A #377C15 #157C5A
monochromatic
#1A0416 #480C3D #7C156A #B01E97 #DC30BE

Accessibility & contrast

On white

9.67
#7C156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7C156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C156A
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C156A#FFFFFF#000000##FFFFFF
##7C156A1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6C
Deuteranopia (green-blind)
#3E4A68
Tritanopia (blue-blind)
#831D3F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c156a;
/* rgb */ color: rgb(124, 21, 106);
/* oklch */ color: oklch(41.0% 0.163 336.7);
Tailwind
colors: {
  custom: {
    50: '#a66195',
    500: '#7c156a',
    950: '#000000',
  },
}
SCSS
$custom: #7c156a;
$custom-light: #a66195;
$custom-dark: #000000;
JSON
{
  "hex": "#7c156a",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 310.485,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41019,
    "c": 0.16288,
    "h": 336.7
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#7C156A
secondary
#3CB150
accent
#EE593A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7C156A

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

Preview Lab → · Contrast checker → · Palette generator →

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