#7D185A#7D185A

#7D185A is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.150 H 346.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7D185A
RGBrgb(125, 24, 90)
HSLhsl(321, 68%, 29%)
HSVhsv(321, 81%, 49%)
CMYKcmyk(0%, 80.8%, 28%, 51%)
CIE-LABlab(28.78, 47.88, -13.69)
CIE-LCHlch(28.78, 49.80, 344.04°)
OKLaboklab(40.6% 0.1456 -0.0363)
OKLCHoklch(40.6% 0.15 346)
XYZxyz(10.6300, 5.7526, 10.2214)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D185A #187D3B
analogous
#6E187D #7D185A #7D1828
triadic
#7D185A #5A7D18 #185A7D
tetradic
#7D185A #7D6E18 #187D3B #18287D
square
#7D185A #7D6E18 #187D3B #18287D
split-complementary
#7D185A #287D18 #187D6E
monochromatic
#1A0512 #4A0E35 #7D185A #B0227F #D937A1

Accessibility & contrast

On white

9.77
#7D185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D185A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D185A#FFFFFF#000000##FFFFFF
##7D185A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395C
Deuteranopia (green-blind)
#454A58
Tritanopia (blue-blind)
#861537
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d185a;
/* rgb */ color: rgb(125, 24, 90);
/* oklch */ color: oklch(40.6% 0.150 346.0);
Tailwind
colors: {
  custom: {
    50: '#a66188',
    500: '#7d185a',
    950: '#000000',
  },
}
SCSS
$custom: #7d185a;
$custom-light: #a66188;
$custom-dark: #000000;
JSON
{
  "hex": "#7d185a",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 320.792,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40595,
    "c": 0.15003,
    "h": 346
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#7D185A
secondary
#3FB267
accent
#EB793D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D185A

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

Preview Lab → · Contrast checker → · Palette generator →

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