#7C154C#7C154C

#7C154C is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.145 H 353.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7C154C
RGBrgb(124, 21, 76)
HSLhsl(328, 71%, 28%)
HSVhsv(328, 83%, 49%)
CMYKcmyk(0%, 83.1%, 38.7%, 51.4%)
CIE-LABlab(27.69, 46.80, -6.09)
CIE-LCHlch(27.69, 47.19, 352.59°)
OKLaboklab(39.58% 0.1439 -0.0155)
OKLCHoklch(39.58% 0.145 353.8)
XYZxyz(9.8855, 5.3445, 7.3471)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C154C #157C45
analogous
#78157C #7C154C #7C1519
triadic
#7C154C #4C7C15 #154C7C
tetradic
#7C154C #7C7815 #157C45 #15197C
square
#7C154C #7C7815 #157C45 #15197C
split-complementary
#7C154C #197C15 #157C78
monochromatic
#1A0410 #480C2C #7C154C #B01E6C #DC308C

Accessibility & contrast

On white

10.15
#7C154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7C154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C154C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C154C#FFFFFF#000000##FFFFFF
##7C154C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354D
Deuteranopia (green-blind)
#48484A
Tritanopia (blue-blind)
#86062F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c154c;
/* rgb */ color: rgb(124, 21, 76);
/* oklch */ color: oklch(39.6% 0.145 353.8);
Tailwind
colors: {
  custom: {
    50: '#a65f7e',
    500: '#7c154c',
    950: '#000000',
  },
}
SCSS
$custom: #7c154c;
$custom-light: #a65f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c154c",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 327.961,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39582,
    "c": 0.14473,
    "h": 353.8
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#7C154C
secondary
#3CB172
accent
#EE8E3A
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7C154C

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

Preview Lab → · Contrast checker → · Palette generator →

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