#7C145B#7C145B

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

Color values

HEX#7C145B
RGBrgb(124, 20, 91)
HSLhsl(319, 72%, 28%)
HSVhsv(319, 84%, 49%)
CMYKcmyk(0%, 83.9%, 26.6%, 51.4%)
CIE-LABlab(28.23, 48.91, -15.21)
CIE-LCHlch(28.23, 51.22, 342.72°)
OKLaboklab(40.17% 0.1484 -0.0406)
OKLCHoklch(40.17% 0.154 344.7)
XYZxyz(10.4511, 5.5419, 10.4148)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C145B #147C35
analogous
#69147C #7C145B #7C1427
triadic
#7C145B #5B7C14 #145B7C
tetradic
#7C145B #7C6914 #147C35 #14277C
square
#7C145B #7C6914 #147C35 #14277C
split-complementary
#7C145B #277C14 #147C69
monochromatic
#1A0413 #470B34 #7C145B #B11D82 #DD2DA5

Accessibility & contrast

On white

9.96
#7C145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C145B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C145B#FFFFFF#000000##FFFFFF
##7C145B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385D
Deuteranopia (green-blind)
#434959
Tritanopia (blue-blind)
#851237
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c145b;
/* rgb */ color: rgb(124, 20, 91);
/* oklch */ color: oklch(40.2% 0.154 344.7);
Tailwind
colors: {
  custom: {
    50: '#a66089',
    500: '#7c145b',
    950: '#000000',
  },
}
SCSS
$custom: #7c145b;
$custom-light: #a66089;
$custom-dark: #000000;
JSON
{
  "hex": "#7c145b",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 319.038,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40173,
    "c": 0.15385,
    "h": 344.7
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#7C145B
secondary
#3AB260
accent
#EF7339
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7C145B

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

Preview Lab → · Contrast checker → · Palette generator →

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