#7D186C#7D186C

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

Color values

HEX#7D186C
RGBrgb(125, 24, 108)
HSLhsl(310, 68%, 29%)
HSVhsv(310, 81%, 49%)
CMYKcmyk(0%, 80.8%, 13.6%, 51%)
CIE-LABlab(29.66, 50.44, -24.01)
CIE-LCHlch(29.66, 55.87, 334.54°)
OKLaboklab(41.51% 0.1482 -0.0655)
OKLCHoklch(41.51% 0.162 336.1)
XYZxyz(11.4911, 6.0970, 14.7561)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D186C #187D29
analogous
#5C187D #7D186C #7D183A
triadic
#7D186C #6C7D18 #186C7D
tetradic
#7D186C #7D5C18 #187D29 #183A7D
square
#7D186C #7D5C18 #187D29 #183A7D
split-complementary
#7D186C #3A7D18 #187D5C
monochromatic
#1A0516 #4A0E40 #7D186C #B02298 #D937BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D186C#FFFFFF#000000##FFFFFF
##7D186C1.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)
#1A3C6E
Deuteranopia (green-blind)
#3F4B6A
Tritanopia (blue-blind)
#842041
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d186c;
/* rgb */ color: rgb(125, 24, 108);
/* oklch */ color: oklch(41.5% 0.162 336.1);
Tailwind
colors: {
  custom: {
    50: '#a66296',
    500: '#7d186c',
    950: '#000000',
  },
}
SCSS
$custom: #7d186c;
$custom-light: #a66296;
$custom-dark: #000000;
JSON
{
  "hex": "#7d186c",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 310.099,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.16201,
    "h": 336.1
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#7D186C
secondary
#3FB253
accent
#EB5A3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D186C

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

Preview Lab → · Contrast checker → · Palette generator →

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