#7D185C#7D185C

#7D185C is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.151 H 344.8°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7D185C
RGBrgb(125, 24, 92)
HSLhsl(320, 68%, 29%)
HSVhsv(320, 81%, 49%)
CMYKcmyk(0%, 80.8%, 26.4%, 51%)
CIE-LABlab(28.87, 48.15, -14.86)
CIE-LCHlch(28.87, 50.39, 342.84°)
OKLaboklab(40.69% 0.146 -0.0396)
OKLCHoklch(40.69% 0.151 344.8)
XYZxyz(10.7163, 5.7871, 10.6758)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D185C #187D39
analogous
#6C187D #7D185C #7D182A
triadic
#7D185C #5C7D18 #185C7D
tetradic
#7D185C #7D6C18 #187D39 #182A7D
square
#7D185C #7D6C18 #187D39 #182A7D
split-complementary
#7D185C #2A7D18 #187D6C
monochromatic
#1A0513 #4A0E36 #7D185C #B02282 #D937A4

Accessibility & contrast

On white

9.73
#7D185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D185C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D185C#FFFFFF#000000##FFFFFF
##7D185C1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395E
Deuteranopia (green-blind)
#454A5A
Tritanopia (blue-blind)
#861638
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d185c;
/* rgb */ color: rgb(125, 24, 92);
/* oklch */ color: oklch(40.7% 0.151 344.8);
Tailwind
colors: {
  custom: {
    50: '#a6618a',
    500: '#7d185c',
    950: '#000000',
  },
}
SCSS
$custom: #7d185c;
$custom-light: #a6618a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d185c",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 319.604,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40689,
    "c": 0.15125,
    "h": 344.8
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#7D185C
secondary
#3FB265
accent
#EB763D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D185C

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

Preview Lab → · Contrast checker → · Palette generator →

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