#7C2D4E#7C2D4E

#7C2D4E is a dark, moderate pink. Relative luminance 0.067; OKLCH L 42.1% C 0.115 H 357.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7C2D4E
RGBrgb(124, 45, 78)
HSLhsl(335, 47%, 33%)
HSVhsv(335, 64%, 49%)
CMYKcmyk(0%, 63.7%, 37.1%, 51.4%)
CIE-LABlab(31.14, 37.66, -2.28)
CIE-LCHlch(31.14, 37.73, 356.53°)
OKLaboklab(42.15% 0.115 -0.0055)
OKLCHoklch(42.15% 0.115 357.3)
XYZxyz(10.6263, 6.7131, 7.9424)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2D4E #2D7C5B
analogous
#7C2D75 #7C2D4E #7C332D
triadic
#7C2D4E #4E7C2D #2D4E7C
tetradic
#7C2D4E #757C2D #2D7C5B #332D7C
square
#7C2D4E #757C2D #2D7C5B #332D7C
split-complementary
#7C2D4E #2D7C33 #2D757C
monochromatic
#220C16 #4F1D32 #7C2D4E #A93D6A #C55F89

Accessibility & contrast

On white

8.97
#7C2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7C2D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2D4E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2D4E#FFFFFF#000000##FFFFFF
##7C2D4E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A404F
Deuteranopia (green-blind)
#504F4C
Tritanopia (blue-blind)
#86273A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c2d4e;
/* rgb */ color: rgb(124, 45, 78);
/* oklch */ color: oklch(42.1% 0.115 357.3);
Tailwind
colors: {
  custom: {
    50: '#a56b7f',
    500: '#7c2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c2d4e;
$custom-light: #a56b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2d4e",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 334.937,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42145,
    "c": 0.11508,
    "h": 357.3
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#7C2D4E
secondary
#5AAB89
accent
#D69F51
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7C2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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