#7C1942#7C1942

#7C1942 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.137 H 1.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#7C1942
RGBrgb(124, 25, 66)
HSLhsl(335, 66%, 29%)
HSVhsv(335, 80%, 49%)
CMYKcmyk(0%, 79.8%, 46.8%, 51.4%)
CIE-LABlab(27.78, 44.51, 0.74)
CIE-LCHlch(27.78, 44.52, 0.95°)
OKLaboklab(39.53% 0.1367 0.0024)
OKLCHoklch(39.53% 0.137 1)
XYZxyz(9.6440, 5.3750, 5.6828)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1942 #197C53
analogous
#7C1974 #7C1942 #7C2219
triadic
#7C1942 #427C19 #19427C
tetradic
#7C1942 #747C19 #197C53 #22197C
square
#7C1942 #747C19 #197C53 #22197C
split-complementary
#7C1942 #197C22 #19747C
monochromatic
#19050E #490F27 #7C1942 #AF235D #D7387A

Accessibility & contrast

On white

10.12
#7C1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7C1942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1942
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1942#FFFFFF#000000##FFFFFF
##7C19421.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#4B4840
Tritanopia (blue-blind)
#87042B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1942;
/* rgb */ color: rgb(124, 25, 66);
/* oklch */ color: oklch(39.5% 0.137 1.0);
Tailwind
colors: {
  custom: {
    50: '#a76176',
    500: '#7c1942',
    950: '#000000',
  },
}
SCSS
$custom: #7c1942;
$custom-light: #a76176;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1942",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 335.152,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39528,
    "c": 0.13668,
    "h": 1
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#7C1942
secondary
#40B082
accent
#E9A33E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7C1942

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

Preview Lab → · Contrast checker → · Palette generator →

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