#7C196B#7C196B

#7C196B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.4% C 0.160 H 336.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#7C196B
RGBrgb(124, 25, 107)
HSLhsl(310, 66%, 29%)
HSVhsv(310, 80%, 49%)
CMYKcmyk(0%, 79.8%, 13.7%, 51.4%)
CIE-LABlab(29.52, 49.75, -23.60)
CIE-LCHlch(29.52, 55.06, 334.62°)
OKLaboklab(41.36% 0.1462 -0.0644)
OKLCHoklch(41.36% 0.16 336.2)
XYZxyz(11.3138, 6.0429, 14.4776)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C196B #197C2A
analogous
#5C197C #7C196B #7C193A
triadic
#7C196B #6B7C19 #196B7C
tetradic
#7C196B #7C5C19 #197C2A #193A7C
square
#7C196B #7C5C19 #197C2A #193A7C
split-complementary
#7C196B #3A7C19 #197C5C
monochromatic
#190516 #490F3F #7C196B #AF2397 #D738BC

Accessibility & contrast

On white

9.51
#7C196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7C196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C196B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C196B#FFFFFF#000000##FFFFFF
##7C196B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6D
Deuteranopia (green-blind)
#3E4B69
Tritanopia (blue-blind)
#832141
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7c196b;
/* rgb */ color: rgb(124, 25, 107);
/* oklch */ color: oklch(41.4% 0.160 336.2);
Tailwind
colors: {
  custom: {
    50: '#a56295',
    500: '#7c196b',
    950: '#000000',
  },
}
SCSS
$custom: #7c196b;
$custom-light: #a56295;
$custom-dark: #000000;
JSON
{
  "hex": "#7c196b",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 310.303,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41363,
    "c": 0.1597,
    "h": 336.2
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#7C196B
secondary
#40B054
accent
#E95C3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C196B

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

Preview Lab → · Contrast checker → · Palette generator →

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