#7C185F#7C185F

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

Color values

HEX#7C185F
RGBrgb(124, 24, 95)
HSLhsl(317, 68%, 29%)
HSVhsv(317, 81%, 49%)
CMYKcmyk(0%, 80.6%, 23.4%, 51.4%)
CIE-LABlab(28.81, 48.30, -16.93)
CIE-LCHlch(28.81, 51.18, 340.69°)
OKLaboklab(40.66% 0.1456 -0.0454)
OKLCHoklch(40.66% 0.152 342.7)
XYZxyz(10.7048, 5.7657, 11.3734)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C185F #187C35
analogous
#67187C #7C185F #7C182D
triadic
#7C185F #5F7C18 #185F7C
tetradic
#7C185F #7C6718 #187C35 #182D7C
square
#7C185F #7C6718 #187C35 #182D7C
split-complementary
#7C185F #2D7C18 #187C67
monochromatic
#1A0514 #490E38 #7C185F #AF2286 #D836A9

Accessibility & contrast

On white

9.75
#7C185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C185F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C185F#FFFFFF#000000##FFFFFF
##7C185F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A61
Deuteranopia (green-blind)
#434A5D
Tritanopia (blue-blind)
#84193A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c185f;
/* rgb */ color: rgb(124, 24, 95);
/* oklch */ color: oklch(40.7% 0.152 342.7);
Tailwind
colors: {
  custom: {
    50: '#a6618c',
    500: '#7c185f',
    950: '#000000',
  },
}
SCSS
$custom: #7c185f;
$custom-light: #a6618c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c185f",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 317.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40658,
    "c": 0.15248,
    "h": 342.7
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#7C185F
secondary
#3FB160
accent
#EA703D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C185F

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

Preview Lab → · Contrast checker → · Palette generator →

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