#7D185E#7D185E

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

Color values

HEX#7D185E
RGBrgb(125, 24, 94)
HSLhsl(318, 68%, 29%)
HSVhsv(318, 81%, 49%)
CMYKcmyk(0%, 80.8%, 24.8%, 51%)
CIE-LABlab(28.96, 48.42, -16.03)
CIE-LCHlch(28.96, 51.00, 341.68°)
OKLaboklab(40.78% 0.1463 -0.0429)
OKLCHoklch(40.78% 0.152 343.7)
XYZxyz(10.8049, 5.8226, 11.1424)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D185E #187D37
analogous
#6A187D #7D185E #7D182C
triadic
#7D185E #5E7D18 #185E7D
tetradic
#7D185E #7D6A18 #187D37 #182C7D
square
#7D185E #7D6A18 #187D37 #182C7D
split-complementary
#7D185E #2C7D18 #187D6A
monochromatic
#1A0513 #4A0E37 #7D185E #B02285 #D937A7

Accessibility & contrast

On white

9.70
#7D185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D185E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D185E#FFFFFF#000000##FFFFFF
##7D185E1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243A60
Deuteranopia (green-blind)
#444A5C
Tritanopia (blue-blind)
#861839
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d185e;
/* rgb */ color: rgb(125, 24, 94);
/* oklch */ color: oklch(40.8% 0.152 343.7);
Tailwind
colors: {
  custom: {
    50: '#a6618b',
    500: '#7d185e',
    950: '#000000',
  },
}
SCSS
$custom: #7d185e;
$custom-light: #a6618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d185e",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 318.416,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.15249,
    "h": 343.7
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#7D185E
secondary
#3FB262
accent
#EB723D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D185E

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

Preview Lab → · Contrast checker → · Palette generator →

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