#7C186A#7C186A

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

Color values

HEX#7C186A
RGBrgb(124, 24, 106)
HSLhsl(311, 68%, 29%)
HSVhsv(311, 81%, 49%)
CMYKcmyk(0%, 80.6%, 14.5%, 51.4%)
CIE-LABlab(29.36, 49.90, -23.20)
CIE-LCHlch(29.36, 55.03, 335.06°)
OKLaboklab(41.23% 0.147 -0.0632)
OKLCHoklch(41.23% 0.16 336.7)
XYZxyz(11.2405, 5.9800, 14.1951)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C186A #187C2A
analogous
#5C187C #7C186A #7C1838
triadic
#7C186A #6A7C18 #186A7C
tetradic
#7C186A #7C5C18 #187C2A #18387C
square
#7C186A #7C5C18 #187C2A #18387C
split-complementary
#7C186A #387C18 #187C5C
monochromatic
#1A0516 #490E3E #7C186A #AF2296 #D836BB

Accessibility & contrast

On white

9.56
#7C186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C186A
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C186A#FFFFFF#000000##FFFFFF
##7C186A1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6C
Deuteranopia (green-blind)
#3F4B68
Tritanopia (blue-blind)
#831F40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c186a;
/* rgb */ color: rgb(124, 24, 106);
/* oklch */ color: oklch(41.2% 0.160 336.7);
Tailwind
colors: {
  custom: {
    50: '#a56295',
    500: '#7c186a',
    950: '#000000',
  },
}
SCSS
$custom: #7c186a;
$custom-light: #a56295;
$custom-dark: #000000;
JSON
{
  "hex": "#7c186a",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 310.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41232,
    "c": 0.15999,
    "h": 336.7
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#7C186A
secondary
#3FB154
accent
#EA5D3D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C186A

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

Preview Lab → · Contrast checker → · Palette generator →

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