#7C1B49#7C1B49

#7C1B49 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.137 H 356.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7C1B49
RGBrgb(124, 27, 73)
HSLhsl(332, 64%, 30%)
HSVhsv(332, 78%, 49%)
CMYKcmyk(0%, 78.2%, 41.1%, 51.4%)
CIE-LABlab(28.25, 44.58, -3.26)
CIE-LCHlch(28.25, 44.69, 355.82°)
OKLaboklab(39.95% 0.1369 -0.008)
OKLCHoklch(39.95% 0.137 356.7)
XYZxyz(9.9074, 5.5512, 6.8518)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1B49 #1B7C4E
analogous
#7C1B7A #7C1B49 #7C1D1B
triadic
#7C1B49 #497C1B #1B497C
tetradic
#7C1B49 #7A7C1B #1B7C4E #1D1B7C
square
#7C1B49 #7A7C1B #1B7C4E #1D1B7C
split-complementary
#7C1B49 #1B7C1D #1B7A7C
monochromatic
#19050F #4A102B #7C1B49 #AE2667 #D53D85

Accessibility & contrast

On white

9.95
#7C1B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1B49
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1B49#FFFFFF#000000##FFFFFF
##7C1B491.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F374A
Deuteranopia (green-blind)
#4A4947
Tritanopia (blue-blind)
#860E2F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1b49;
/* rgb */ color: rgb(124, 27, 73);
/* oklch */ color: oklch(40.0% 0.137 356.7);
Tailwind
colors: {
  custom: {
    50: '#a6627b',
    500: '#7c1b49',
    950: '#000000',
  },
}
SCSS
$custom: #7c1b49;
$custom-light: #a6627b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1b49",
  "rgb": {
    "r": 124,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 331.546,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39953,
    "c": 0.13717,
    "h": 356.7
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#7C1B49
secondary
#43B07C
accent
#E79841
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1B49

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

Preview Lab → · Contrast checker → · Palette generator →

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