#7D196A#7D196A

#7D196A is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.160 H 337.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7D196A
RGBrgb(125, 25, 106)
HSLhsl(311, 67%, 29%)
HSVhsv(311, 80%, 49%)
CMYKcmyk(0%, 80%, 15.2%, 51%)
CIE-LABlab(29.66, 49.84, -22.73)
CIE-LCHlch(29.66, 54.78, 335.48°)
OKLaboklab(41.48% 0.1471 -0.0619)
OKLCHoklch(41.48% 0.16 337.2)
XYZxyz(11.4068, 6.0969, 14.2090)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D196A #197D2C
analogous
#5E197D #7D196A #7D1938
triadic
#7D196A #6A7D19 #196A7D
tetradic
#7D196A #7D5E19 #197D2C #19387D
square
#7D196A #7D5E19 #197D2C #19387D
split-complementary
#7D196A #387D19 #197D5E
monochromatic
#1A0516 #4A0F3F #7D196A #B02395 #D739B9

Accessibility & contrast

On white

9.46
#7D196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D196A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D196A#FFFFFF#000000##FFFFFF
##7D196A1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6C
Deuteranopia (green-blind)
#404B68
Tritanopia (blue-blind)
#842040
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d196a;
/* rgb */ color: rgb(125, 25, 106);
/* oklch */ color: oklch(41.5% 0.160 337.2);
Tailwind
colors: {
  custom: {
    50: '#a66295',
    500: '#7d196a',
    950: '#000000',
  },
}
SCSS
$custom: #7d196a;
$custom-light: #a66295;
$custom-dark: #000000;
JSON
{
  "hex": "#7d196a",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 311.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41479,
    "c": 0.15957,
    "h": 337.2
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#7D196A
secondary
#40B156
accent
#EA5F3E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D196A

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

Preview Lab → · Contrast checker → · Palette generator →

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