#7C1A4B#7C1A4B

#7C1A4B is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.139 H 355.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7C1A4B
RGBrgb(124, 26, 75)
HSLhsl(330, 65%, 29%)
HSVhsv(330, 79%, 49%)
CMYKcmyk(0%, 79%, 39.5%, 51.4%)
CIE-LABlab(28.20, 45.14, -4.66)
CIE-LCHlch(28.20, 45.38, 354.10°)
OKLaboklab(39.94% 0.1387 -0.0117)
OKLCHoklch(39.94% 0.139 355.2)
XYZxyz(9.9522, 5.5331, 7.1992)
Luminance0.0553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A4B #1A7C4B
analogous
#7C1A7C #7C1A4B #7C1A1A
triadic
#7C1A4B #4B7C1A #1A4B7C
tetradic
#7C1A4B #7C7C1A #1A7C4B #1A1A7C
square
#7C1A4B #7C7C1A #1A7C4B #1A1A7C
split-complementary
#7C1A4B #1A7C1A #1A7C7C
monochromatic
#19050F #490F2C #7C1A4B #AF256A #D63B88

Accessibility & contrast

On white

9.97
#7C1A4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1A4B
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A4B#FFFFFF#000000##FFFFFF
##7C1A4B1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374C
Deuteranopia (green-blind)
#494949
Tritanopia (blue-blind)
#860D30
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1a4b;
/* rgb */ color: rgb(124, 26, 75);
/* oklch */ color: oklch(39.9% 0.139 355.2);
Tailwind
colors: {
  custom: {
    50: '#a6617d',
    500: '#7c1a4b',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a4b;
$custom-light: #a6617d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a4b",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 75
  },
  "hsl": {
    "h": 330,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39941,
    "c": 0.13915,
    "h": 355.2
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#7C1A4B
secondary
#42B079
accent
#E89440
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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