#7C1548#7C1548

#7C1548 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.143 H 356.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7C1548
RGBrgb(124, 21, 72)
HSLhsl(330, 71%, 28%)
HSVhsv(330, 83%, 49%)
CMYKcmyk(0%, 83.1%, 41.9%, 51.4%)
CIE-LABlab(27.55, 46.36, -3.63)
CIE-LCHlch(27.55, 46.50, 355.52°)
OKLaboklab(39.43% 0.1427 -0.009)
OKLCHoklch(39.43% 0.143 356.4)
XYZxyz(9.7508, 5.2906, 6.6374)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1548 #157C49
analogous
#7C157B #7C1548 #7C1515
triadic
#7C1548 #487C15 #15487C
tetradic
#7C1548 #7B7C15 #157C49 #15157C
square
#7C1548 #7B7C15 #157C49 #15157C
split-complementary
#7C1548 #157C15 #157B7C
monochromatic
#1A040F #480C2A #7C1548 #B01E66 #DC3085

Accessibility & contrast

On white

10.21
#7C1548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7C1548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1548
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1548#FFFFFF#000000##FFFFFF
##7C15481.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3549
Deuteranopia (green-blind)
#494846
Tritanopia (blue-blind)
#87022D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1548;
/* rgb */ color: rgb(124, 21, 72);
/* oklch */ color: oklch(39.4% 0.143 356.4);
Tailwind
colors: {
  custom: {
    50: '#a75f7a',
    500: '#7c1548',
    950: '#000000',
  },
}
SCSS
$custom: #7c1548;
$custom-light: #a75f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1548",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 330.291,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39426,
    "c": 0.14295,
    "h": 356.4
  },
  "luminance": 0.05289
}

Semantic roles & 50–950 ramp

primary
#7C1548
secondary
#3CB177
accent
#EE953A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7C1548

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

Preview Lab → · Contrast checker → · Palette generator →

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