#7C1342#7C1342

#7C1342 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.1% C 0.142 H 0.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7C1342
RGBrgb(124, 19, 66)
HSLhsl(333, 73%, 28%)
HSVhsv(333, 85%, 49%)
CMYKcmyk(0%, 84.7%, 46.8%, 51.4%)
CIE-LABlab(27.15, 46.31, -0.19)
CIE-LCHlch(27.15, 46.31, 359.77°)
OKLaboklab(39.07% 0.1424 0)
OKLCHoklch(39.07% 0.142 0)
XYZxyz(9.5292, 5.1455, 5.6446)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1342 #137C4D
analogous
#7C1376 #7C1342 #7C1813
triadic
#7C1342 #427C13 #13427C
tetradic
#7C1342 #767C13 #137C4D #18137C
square
#7C1342 #767C13 #137C4D #18137C
split-complementary
#7C1342 #137C18 #13767C
monochromatic
#1B040E #470B26 #7C1342 #B11B5E #DF2B7B

Accessibility & contrast

On white

10.35
#7C1342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7C1342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1342
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1342#FFFFFF#000000##FFFFFF
##7C13421.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3343
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#870029
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1342;
/* rgb */ color: rgb(124, 19, 66);
/* oklch */ color: oklch(39.1% 0.142 0.0);
Tailwind
colors: {
  custom: {
    50: '#a75e76',
    500: '#7c1342',
    950: '#000000',
  },
}
SCSS
$custom: #7c1342;
$custom-light: #a75e76;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1342",
  "rgb": {
    "r": 124,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 333.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39065,
    "c": 0.14243,
    "h": 0
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#7C1342
secondary
#39B27C
accent
#F09E38
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C1342

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

Preview Lab → · Contrast checker → · Palette generator →

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