#7C145C#7C145C

#7C145C is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.154 H 344.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7C145C
RGBrgb(124, 20, 92)
HSLhsl(318, 72%, 28%)
HSVhsv(318, 84%, 49%)
CMYKcmyk(0%, 83.9%, 25.8%, 51.4%)
CIE-LABlab(28.27, 49.04, -15.80)
CIE-LCHlch(28.27, 51.53, 342.14°)
OKLaboklab(40.22% 0.1486 -0.0422)
OKLCHoklch(40.22% 0.154 344.1)
XYZxyz(10.4946, 5.5593, 10.6435)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C145C #147C34
analogous
#68147C #7C145C #7C1428
triadic
#7C145C #5C7C14 #145C7C
tetradic
#7C145C #7C6814 #147C34 #14287C
square
#7C145C #7C6814 #147C34 #14287C
split-complementary
#7C145C #287C14 #147C68
monochromatic
#1A0414 #470B35 #7C145C #B11D83 #DD2DA7

Accessibility & contrast

On white

9.95
#7C145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7C145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C145C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C145C#FFFFFF#000000##FFFFFF
##7C145C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385E
Deuteranopia (green-blind)
#43495A
Tritanopia (blue-blind)
#851337
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c145c;
/* rgb */ color: rgb(124, 20, 92);
/* oklch */ color: oklch(40.2% 0.154 344.1);
Tailwind
colors: {
  custom: {
    50: '#a6608a',
    500: '#7c145c',
    950: '#000000',
  },
}
SCSS
$custom: #7c145c;
$custom-light: #a6608a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c145c",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 318.462,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40222,
    "c": 0.15447,
    "h": 344.1
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#7C145C
secondary
#3AB25F
accent
#EF7139
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C145C

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

Preview Lab → · Contrast checker → · Palette generator →

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