#7C145F#7C145F

#7C145F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.156 H 342.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7C145F
RGBrgb(124, 20, 95)
HSLhsl(317, 72%, 28%)
HSVhsv(317, 84%, 49%)
CMYKcmyk(0%, 83.9%, 23.4%, 51.4%)
CIE-LABlab(28.41, 49.45, -17.54)
CIE-LCHlch(28.41, 52.47, 340.46°)
OKLaboklab(40.37% 0.1491 -0.0471)
OKLCHoklch(40.37% 0.156 342.5)
XYZxyz(10.6283, 5.6128, 11.3479)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C145F #147C31
analogous
#65147C #7C145F #7C142B
triadic
#7C145F #5F7C14 #145F7C
tetradic
#7C145F #7C6514 #147C31 #142B7C
square
#7C145F #7C6514 #147C31 #142B7C
split-complementary
#7C145F #2B7C14 #147C65
monochromatic
#1A0414 #470B37 #7C145F #B11D87 #DD2DAC

Accessibility & contrast

On white

9.89
#7C145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7C145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C145F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C145F#FFFFFF#000000##FFFFFF
##7C145F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#42495D
Tritanopia (blue-blind)
#841539
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c145f;
/* rgb */ color: rgb(124, 20, 95);
/* oklch */ color: oklch(40.4% 0.156 342.5);
Tailwind
colors: {
  custom: {
    50: '#a6608c',
    500: '#7c145f',
    950: '#000000',
  },
}
SCSS
$custom: #7c145f;
$custom-light: #a6608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c145f",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 316.731,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4037,
    "c": 0.15636,
    "h": 342.5
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#7C145F
secondary
#3AB25C
accent
#EF6C39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C145F

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

Preview Lab → · Contrast checker → · Palette generator →

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