#7C185E#7C185E

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

Color values

HEX#7C185E
RGBrgb(124, 24, 94)
HSLhsl(318, 68%, 29%)
HSVhsv(318, 81%, 49%)
CMYKcmyk(0%, 80.6%, 24.2%, 51.4%)
CIE-LABlab(28.77, 48.16, -16.34)
CIE-LCHlch(28.77, 50.86, 341.25°)
OKLaboklab(40.61% 0.1454 -0.0438)
OKLCHoklch(40.61% 0.152 343.2)
XYZxyz(10.6596, 5.7477, 11.1355)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C185E #187C36
analogous
#68187C #7C185E #7C182C
triadic
#7C185E #5E7C18 #185E7C
tetradic
#7C185E #7C6818 #187C36 #182C7C
square
#7C185E #7C6818 #187C36 #182C7C
split-complementary
#7C185E #2C7C18 #187C68
monochromatic
#1A0513 #490E37 #7C185E #AF2285 #D836A8

Accessibility & contrast

On white

9.77
#7C185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C185E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C185E#FFFFFF#000000##FFFFFF
##7C185E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243960
Deuteranopia (green-blind)
#434A5C
Tritanopia (blue-blind)
#841839
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c185e;
/* rgb */ color: rgb(124, 24, 94);
/* oklch */ color: oklch(40.6% 0.152 343.2);
Tailwind
colors: {
  custom: {
    50: '#a6618b',
    500: '#7c185e',
    950: '#000000',
  },
}
SCSS
$custom: #7c185e;
$custom-light: #a6618b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c185e",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 318,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40609,
    "c": 0.15183,
    "h": 343.2
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#7C185E
secondary
#3FB161
accent
#EA713D
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C185E

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

Preview Lab → · Contrast checker → · Palette generator →

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