#7C196A#7C196A

#7C196A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.159 H 336.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7C196A
RGBrgb(124, 25, 106)
HSLhsl(311, 66%, 29%)
HSVhsv(311, 80%, 49%)
CMYKcmyk(0%, 79.8%, 14.5%, 51.4%)
CIE-LABlab(29.47, 49.60, -23.04)
CIE-LCHlch(29.47, 54.68, 335.09°)
OKLaboklab(41.31% 0.1461 -0.0628)
OKLCHoklch(41.31% 0.159 336.7)
XYZxyz(11.2615, 6.0220, 14.2021)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C196A #197C2B
analogous
#5D197C #7C196A #7C1939
triadic
#7C196A #6A7C19 #196A7C
tetradic
#7C196A #7C5D19 #197C2B #19397C
square
#7C196A #7C5D19 #197C2B #19397C
split-complementary
#7C196A #397C19 #197C5D
monochromatic
#190516 #490F3E #7C196A #AF2396 #D738BA

Accessibility & contrast

On white

9.53
#7C196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7C196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C196A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C196A#FFFFFF#000000##FFFFFF
##7C196A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6C
Deuteranopia (green-blind)
#3F4B68
Tritanopia (blue-blind)
#832040
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c196a;
/* rgb */ color: rgb(124, 25, 106);
/* oklch */ color: oklch(41.3% 0.159 336.7);
Tailwind
colors: {
  custom: {
    50: '#a56295',
    500: '#7c196a',
    950: '#000000',
  },
}
SCSS
$custom: #7c196a;
$custom-light: #a56295;
$custom-dark: #000000;
JSON
{
  "hex": "#7c196a",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 310.909,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.15898,
    "h": 336.7
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#7C196A
secondary
#40B055
accent
#E95E3E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C196A

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

Preview Lab → · Contrast checker → · Palette generator →

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