#7C2F4E#7C2F4E

#7C2F4E is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.4% C 0.112 H 357.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7C2F4E
RGBrgb(124, 47, 78)
HSLhsl(336, 45%, 34%)
HSVhsv(336, 62%, 49%)
CMYKcmyk(0%, 62.1%, 37.1%, 51.4%)
CIE-LABlab(31.51, 36.69, -1.75)
CIE-LCHlch(31.51, 36.73, 357.27°)
OKLaboklab(42.42% 0.1119 -0.0041)
OKLCHoklch(42.42% 0.112 357.9)
XYZxyz(10.7044, 6.8693, 7.9684)
Luminance0.0687 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2F4E #2F7C5D
analogous
#7C2F74 #7C2F4E #7C362F
triadic
#7C2F4E #4E7C2F #2F4E7C
tetradic
#7C2F4E #747C2F #2F7C5D #362F7C
square
#7C2F4E #747C2F #2F7C5D #362F7C
split-complementary
#7C2F4E #2F7C36 #2F747C
monochromatic
#230D16 #501E32 #7C2F4E #A8406A #C36289

Accessibility & contrast

On white

8.85
#7C2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7C2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2F4E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2F4E#FFFFFF#000000##FFFFFF
##7C2F4E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414F
Deuteranopia (green-blind)
#504F4C
Tritanopia (blue-blind)
#86293B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c2f4e;
/* rgb */ color: rgb(124, 47, 78);
/* oklch */ color: oklch(42.4% 0.112 357.9);
Tailwind
colors: {
  custom: {
    50: '#a56c7f',
    500: '#7c2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c2f4e;
$custom-light: #a56c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2f4e",
  "rgb": {
    "r": 124,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 335.844,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42415,
    "c": 0.11198,
    "h": 357.9
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#7C2F4E
secondary
#5CAA8B
accent
#D5A153
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7C2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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