#7C145D#7C145D

#7C145D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.155 H 343.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7C145D
RGBrgb(124, 20, 93)
HSLhsl(318, 72%, 28%)
HSVhsv(318, 84%, 49%)
CMYKcmyk(0%, 83.9%, 25%, 51.4%)
CIE-LABlab(28.32, 49.18, -16.38)
CIE-LCHlch(28.32, 51.83, 341.57°)
OKLaboklab(40.27% 0.1488 -0.0438)
OKLCHoklch(40.27% 0.155 343.6)
XYZxyz(10.5386, 5.5769, 10.8753)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C145D #147C33
analogous
#67147C #7C145D #7C1429
triadic
#7C145D #5D7C14 #145D7C
tetradic
#7C145D #7C6714 #147C33 #14297C
square
#7C145D #7C6714 #147C33 #14297C
split-complementary
#7C145D #297C14 #147C67
monochromatic
#1A0414 #470B35 #7C145D #B11D85 #DD2DA9

Accessibility & contrast

On white

9.93
#7C145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C145D
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C145D#FFFFFF#000000##FFFFFF
##7C145D1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385F
Deuteranopia (green-blind)
#42495B
Tritanopia (blue-blind)
#851438
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c145d;
/* rgb */ color: rgb(124, 20, 93);
/* oklch */ color: oklch(40.3% 0.155 343.6);
Tailwind
colors: {
  custom: {
    50: '#a6608b',
    500: '#7c145d',
    950: '#000000',
  },
}
SCSS
$custom: #7c145d;
$custom-light: #a6608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c145d",
  "rgb": {
    "r": 124,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 317.885,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4027,
    "c": 0.15509,
    "h": 343.6
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#7C145D
secondary
#3AB25E
accent
#EF6F39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7C145D

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

Preview Lab → · Contrast checker → · Palette generator →

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