#7D196C#7D196C

#7D196C is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.6% C 0.161 H 336.2°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7D196C
RGBrgb(125, 25, 108)
HSLhsl(310, 67%, 29%)
HSVhsv(310, 80%, 49%)
CMYKcmyk(0%, 80%, 13.6%, 51%)
CIE-LABlab(29.76, 50.14, -23.85)
CIE-LCHlch(29.76, 55.52, 334.56°)
OKLaboklab(41.59% 0.1473 -0.0651)
OKLCHoklch(41.59% 0.161 336.2)
XYZxyz(11.5120, 6.1390, 14.7631)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D196C #197D2A
analogous
#5C197D #7D196C #7D193A
triadic
#7D196C #6C7D19 #196C7D
tetradic
#7D196C #7D5C19 #197D2A #193A7D
square
#7D196C #7D5C19 #197D2A #193A7D
split-complementary
#7D196C #3A7D19 #197D5C
monochromatic
#1A0516 #4A0F40 #7D196C #B02398 #D739BC

Accessibility & contrast

On white

9.43
#7D196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7D196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D196C
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D196C#FFFFFF#000000##FFFFFF
##7D196C1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6E
Deuteranopia (green-blind)
#3F4B6A
Tritanopia (blue-blind)
#842141
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d196c;
/* rgb */ color: rgb(125, 25, 108);
/* oklch */ color: oklch(41.6% 0.161 336.2);
Tailwind
colors: {
  custom: {
    50: '#a66296',
    500: '#7d196c',
    950: '#000000',
  },
}
SCSS
$custom: #7d196c;
$custom-light: #a66296;
$custom-dark: #000000;
JSON
{
  "hex": "#7d196c",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 310.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41588,
    "c": 0.161,
    "h": 336.2
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#7D196C
secondary
#40B154
accent
#EA5B3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D196C

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

Preview Lab → · Contrast checker → · Palette generator →

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