#7C185A#7C185A

#7C185A is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.149 H 345.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7C185A
RGBrgb(124, 24, 90)
HSLhsl(320, 68%, 29%)
HSVhsv(320, 81%, 49%)
CMYKcmyk(0%, 80.6%, 27.4%, 51.4%)
CIE-LABlab(28.58, 47.62, -14.01)
CIE-LCHlch(28.58, 49.64, 343.61°)
OKLaboklab(40.42% 0.1446 -0.0372)
OKLCHoklch(40.42% 0.149 345.6)
XYZxyz(10.4848, 5.6777, 10.2146)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C185A #187C3A
analogous
#6C187C #7C185A #7C1828
triadic
#7C185A #5A7C18 #185A7C
tetradic
#7C185A #7C6C18 #187C3A #18287C
square
#7C185A #7C6C18 #187C3A #18287C
split-complementary
#7C185A #287C18 #187C6C
monochromatic
#1A0513 #490E35 #7C185A #AF227F #D836A1

Accessibility & contrast

On white

9.83
#7C185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C185A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C185A#FFFFFF#000000##FFFFFF
##7C185A1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26395C
Deuteranopia (green-blind)
#444958
Tritanopia (blue-blind)
#851637
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c185a;
/* rgb */ color: rgb(124, 24, 90);
/* oklch */ color: oklch(40.4% 0.149 345.6);
Tailwind
colors: {
  custom: {
    50: '#a66188',
    500: '#7c185a',
    950: '#000000',
  },
}
SCSS
$custom: #7c185a;
$custom-light: #a66188;
$custom-dark: #000000;
JSON
{
  "hex": "#7c185a",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 320.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40418,
    "c": 0.14933,
    "h": 345.6
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#7C185A
secondary
#3FB166
accent
#EA783D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C185A

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

Preview Lab → · Contrast checker → · Palette generator →

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