#7C1A4F#7C1A4F

#7C1A4F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.141 H 352.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7C1A4F
RGBrgb(124, 26, 79)
HSLhsl(328, 65%, 29%)
HSVhsv(328, 79%, 49%)
CMYKcmyk(0%, 79%, 36.3%, 51.4%)
CIE-LABlab(28.35, 45.60, -7.10)
CIE-LCHlch(28.35, 46.15, 351.15°)
OKLaboklab(40.1% 0.1399 -0.0183)
OKLCHoklch(40.1% 0.141 352.6)
XYZxyz(10.0935, 5.5896, 7.9430)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A4F #1A7C47
analogous
#781A7C #7C1A4F #7C1A1E
triadic
#7C1A4F #4F7C1A #1A4F7C
tetradic
#7C1A4F #7C781A #1A7C47 #1A1E7C
square
#7C1A4F #7C781A #1A7C47 #1A1E7C
split-complementary
#7C1A4F #1E7C1A #1A7C78
monochromatic
#190510 #490F2F #7C1A4F #AF256F #D63B8F

Accessibility & contrast

On white

9.92
#7C1A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1A4F
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A4F#FFFFFF#000000##FFFFFF
##7C1A4F1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3850
Deuteranopia (green-blind)
#48494D
Tritanopia (blue-blind)
#861032
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c1a4f;
/* rgb */ color: rgb(124, 26, 79);
/* oklch */ color: oklch(40.1% 0.141 352.6);
Tailwind
colors: {
  custom: {
    50: '#a66180',
    500: '#7c1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a4f;
$custom-light: #a66180;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a4f",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 327.551,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.401,
    "c": 0.14106,
    "h": 352.6
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#7C1A4F
secondary
#42B074
accent
#E88D40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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