#7D185F#7D185F

#7D185F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.153 H 343.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#7D185F
RGBrgb(125, 24, 95)
HSLhsl(318, 68%, 29%)
HSVhsv(318, 81%, 49%)
CMYKcmyk(0%, 80.8%, 24%, 51%)
CIE-LABlab(29.01, 48.56, -16.61)
CIE-LCHlch(29.01, 51.32, 341.11°)
OKLaboklab(40.83% 0.1465 -0.0445)
OKLCHoklch(40.83% 0.153 343.1)
XYZxyz(10.8501, 5.8406, 11.3802)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D185F #187D36
analogous
#69187D #7D185F #7D182D
triadic
#7D185F #5F7D18 #185F7D
tetradic
#7D185F #7D6918 #187D36 #182D7D
square
#7D185F #7D6918 #187D36 #182D7D
split-complementary
#7D185F #2D7D18 #187D69
monochromatic
#1A0514 #4A0E38 #7D185F #B02286 #D937A9

Accessibility & contrast

On white

9.69
#7D185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D185F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D185F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D185F#FFFFFF#000000##FFFFFF
##7D185F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A61
Deuteranopia (green-blind)
#444A5D
Tritanopia (blue-blind)
#85183A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d185f;
/* rgb */ color: rgb(125, 24, 95);
/* oklch */ color: oklch(40.8% 0.153 343.1);
Tailwind
colors: {
  custom: {
    50: '#a6618c',
    500: '#7d185f',
    950: '#000000',
  },
}
SCSS
$custom: #7d185f;
$custom-light: #a6618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d185f",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 317.822,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40834,
    "c": 0.15313,
    "h": 343.1
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#7D185F
secondary
#3FB261
accent
#EB713D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D185F

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

Preview Lab → · Contrast checker → · Palette generator →

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