#7C1A42#7C1A42

#7C1A42 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.136 H 1.2°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7C1A42
RGBrgb(124, 26, 66)
HSLhsl(336, 65%, 29%)
HSVhsv(336, 79%, 49%)
CMYKcmyk(0%, 79%, 46.8%, 51.4%)
CIE-LABlab(27.90, 44.18, 0.91)
CIE-LCHlch(27.90, 44.19, 1.18°)
OKLaboklab(39.62% 0.1356 0.0028)
OKLCHoklch(39.62% 0.136 1.2)
XYZxyz(9.6657, 5.4185, 5.6901)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1A42 #1A7C54
analogous
#7C1A73 #7C1A42 #7C231A
triadic
#7C1A42 #427C1A #1A427C
tetradic
#7C1A42 #737C1A #1A7C54 #231A7C
square
#7C1A42 #737C1A #1A7C54 #231A7C
split-complementary
#7C1A42 #1A7C23 #1A737C
monochromatic
#19050D #490F27 #7C1A42 #AF255D #D63B7A

Accessibility & contrast

On white

10.08
#7C1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7C1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1A42
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1A42#FFFFFF#000000##FFFFFF
##7C1A421.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313643
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#87062B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1a42;
/* rgb */ color: rgb(124, 26, 66);
/* oklch */ color: oklch(39.6% 0.136 1.2);
Tailwind
colors: {
  custom: {
    50: '#a76176',
    500: '#7c1a42',
    950: '#000000',
  },
}
SCSS
$custom: #7c1a42;
$custom-light: #a76176;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1a42",
  "rgb": {
    "r": 124,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 335.51,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39615,
    "c": 0.13562,
    "h": 1.2
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#7C1A42
secondary
#42B083
accent
#E8A340
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7C1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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