#7D186A#7D186A

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

Color values

HEX#7D186A
RGBrgb(125, 24, 106)
HSLhsl(311, 68%, 29%)
HSVhsv(311, 81%, 49%)
CMYKcmyk(0%, 80.8%, 15.2%, 51%)
CIE-LABlab(29.55, 50.14, -22.89)
CIE-LCHlch(29.55, 55.12, 335.46°)
OKLaboklab(41.4% 0.148 -0.0623)
OKLCHoklch(41.4% 0.161 337.2)
XYZxyz(11.3858, 6.0549, 14.2020)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D186A #187D2B
analogous
#5E187D #7D186A #7D1838
triadic
#7D186A #6A7D18 #186A7D
tetradic
#7D186A #7D5E18 #187D2B #18387D
square
#7D186A #7D5E18 #187D2B #18387D
split-complementary
#7D186A #387D18 #187D5E
monochromatic
#1A0516 #4A0E3E #7D186A #B02296 #D937BA

Accessibility & contrast

On white

9.50
#7D186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D186A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D186A#FFFFFF#000000##FFFFFF
##7D186A1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3C6C
Deuteranopia (green-blind)
#3F4B68
Tritanopia (blue-blind)
#841F40
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d186a;
/* rgb */ color: rgb(125, 24, 106);
/* oklch */ color: oklch(41.4% 0.161 337.2);
Tailwind
colors: {
  custom: {
    50: '#a66295',
    500: '#7d186a',
    950: '#000000',
  },
}
SCSS
$custom: #7d186a;
$custom-light: #a66295;
$custom-dark: #000000;
JSON
{
  "hex": "#7d186a",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 311.287,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41403,
    "c": 0.16058,
    "h": 337.2
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#7D186A
secondary
#3FB255
accent
#EB5E3D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D186A

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

Preview Lab → · Contrast checker → · Palette generator →

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