#7C185D#7C185D

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

Color values

HEX#7C185D
RGBrgb(124, 24, 93)
HSLhsl(319, 68%, 29%)
HSVhsv(319, 81%, 49%)
CMYKcmyk(0%, 80.6%, 25%, 51.4%)
CIE-LABlab(28.72, 48.03, -15.76)
CIE-LCHlch(28.72, 50.55, 341.83°)
OKLaboklab(40.56% 0.1452 -0.0421)
OKLCHoklch(40.56% 0.151 343.8)
XYZxyz(10.6150, 5.7298, 10.9007)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C185D #187C37
analogous
#69187C #7C185D #7C182B
triadic
#7C185D #5D7C18 #185D7C
tetradic
#7C185D #7C6918 #187C37 #182B7C
square
#7C185D #7C6918 #187C37 #182B7C
split-complementary
#7C185D #2B7C18 #187C69
monochromatic
#1A0513 #490E37 #7C185D #AF2283 #D836A6

Accessibility & contrast

On white

9.79
#7C185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C185D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C185D#FFFFFF#000000##FFFFFF
##7C185D1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#434A5B
Tritanopia (blue-blind)
#851839
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c185d;
/* rgb */ color: rgb(124, 24, 93);
/* oklch */ color: oklch(40.6% 0.151 343.8);
Tailwind
colors: {
  custom: {
    50: '#a6618b',
    500: '#7c185d',
    950: '#000000',
  },
}
SCSS
$custom: #7c185d;
$custom-light: #a6618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c185d",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 318.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.15119,
    "h": 343.8
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#7C185D
secondary
#3FB162
accent
#EA733D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C185D

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

Preview Lab → · Contrast checker → · Palette generator →

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