#7C145A#7C145A

#7C145A is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.153 H 345.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7C145A
RGBrgb(124, 20, 90)
HSLhsl(320, 72%, 28%)
HSVhsv(320, 84%, 49%)
CMYKcmyk(0%, 83.9%, 27.4%, 51.4%)
CIE-LABlab(28.18, 48.78, -14.63)
CIE-LCHlch(28.18, 50.93, 343.31°)
OKLaboklab(40.13% 0.1482 -0.0389)
OKLCHoklch(40.13% 0.153 345.3)
XYZxyz(10.4083, 5.5248, 10.1891)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C145A #147C36
analogous
#6A147C #7C145A #7C1426
triadic
#7C145A #5A7C14 #145A7C
tetradic
#7C145A #7C6A14 #147C36 #14267C
square
#7C145A #7C6A14 #147C36 #14267C
split-complementary
#7C145A #267C14 #147C6A
monochromatic
#1A0413 #470B34 #7C145A #B11D80 #DD2DA4

Accessibility & contrast

On white

9.98
#7C145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7C145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C145A
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C145A#FFFFFF#000000##FFFFFF
##7C145A1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23375C
Deuteranopia (green-blind)
#434958
Tritanopia (blue-blind)
#851136
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c145a;
/* rgb */ color: rgb(124, 20, 90);
/* oklch */ color: oklch(40.1% 0.153 345.3);
Tailwind
colors: {
  custom: {
    50: '#a66088',
    500: '#7c145a',
    950: '#000000',
  },
}
SCSS
$custom: #7c145a;
$custom-light: #a66088;
$custom-dark: #000000;
JSON
{
  "hex": "#7c145a",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 319.615,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40125,
    "c": 0.15325,
    "h": 345.3
  },
  "luminance": 0.05524
}

Semantic roles & 50–950 ramp

primary
#7C145A
secondary
#3AB261
accent
#EF7439
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C145A

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

Preview Lab → · Contrast checker → · Palette generator →

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