#7C185C#7C185C

#7C185C is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.151 H 344.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7C185C
RGBrgb(124, 24, 92)
HSLhsl(319, 68%, 29%)
HSVhsv(319, 81%, 49%)
CMYKcmyk(0%, 80.6%, 25.8%, 51.4%)
CIE-LABlab(28.67, 47.89, -15.18)
CIE-LCHlch(28.67, 50.24, 342.41°)
OKLaboklab(40.51% 0.145 -0.0405)
OKLCHoklch(40.51% 0.151 344.4)
XYZxyz(10.5710, 5.7122, 10.6690)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C185C #187C38
analogous
#6A187C #7C185C #7C182A
triadic
#7C185C #5C7C18 #185C7C
tetradic
#7C185C #7C6A18 #187C38 #182A7C
square
#7C185C #7C6A18 #187C38 #182A7C
split-complementary
#7C185C #2A7C18 #187C6A
monochromatic
#1A0513 #490E36 #7C185C #AF2282 #D836A4

Accessibility & contrast

On white

9.80
#7C185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7C185C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C185C
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C185C#FFFFFF#000000##FFFFFF
##7C185C1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c185c;
/* rgb */ color: rgb(124, 24, 92);
/* oklch */ color: oklch(40.5% 0.151 344.4);
Tailwind
colors: {
  custom: {
    50: '#a6618a',
    500: '#7c185c',
    950: '#000000',
  },
}
SCSS
$custom: #7c185c;
$custom-light: #a6618a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c185c",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 319.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40512,
    "c": 0.15057,
    "h": 344.4
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#7C185C
secondary
#3FB163
accent
#EA753D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C185C

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

Preview Lab → · Contrast checker → · Palette generator →

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