#7C1A48#7C1A48

#7C1A48 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.138 H 357.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#7C1A48
RGBrgb(124, 26, 72)
HSLhsl(332, 65%, 29%)
HSVhsv(332, 79%, 49%)
CMYKcmyk(0%, 79%, 41.9%, 51.4%)
CIE-LABlab(28.10, 44.81, -2.82)
CIE-LCHlch(28.10, 44.89, 356.40°)
OKLaboklab(39.83% 0.1377 -0.0068)
OKLCHoklch(39.83% 0.138 357.2)
XYZxyz(9.8520, 5.4930, 6.6711)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A48 #1A7C4E
analogous
#7C1A79 #7C1A48 #7C1D1A
triadic
#7C1A48 #487C1A #1A487C
tetradic
#7C1A48 #797C1A #1A7C4E #1D1A7C
square
#7C1A48 #797C1A #1A7C4E #1D1A7C
split-complementary
#7C1A48 #1A7C1D #1A797C
monochromatic
#19050F #490F2B #7C1A48 #AF2565 #D63B83

Accessibility & contrast

On white

10.01
#7C1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7C1A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A48
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A48#FFFFFF#000000##FFFFFF
##7C1A481.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3749
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#870B2E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1a48;
/* rgb */ color: rgb(124, 26, 72);
/* oklch */ color: oklch(39.8% 0.138 357.2);
Tailwind
colors: {
  custom: {
    50: '#a6617a',
    500: '#7c1a48',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a48;
$custom-light: #a6617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a48",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 331.837,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39828,
    "c": 0.13786,
    "h": 357.2
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#7C1A48
secondary
#42B07C
accent
#E89940
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7C1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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