#7C2D52#7C2D52

#7C2D52 is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.3% C 0.117 H 354.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7C2D52
RGBrgb(124, 45, 82)
HSLhsl(332, 47%, 33%)
HSVhsv(332, 64%, 49%)
CMYKcmyk(0%, 63.7%, 33.9%, 51.4%)
CIE-LABlab(31.28, 38.18, -4.69)
CIE-LCHlch(31.28, 38.47, 353.00°)
OKLaboklab(42.29% 0.1163 -0.0119)
OKLCHoklch(42.29% 0.117 354.2)
XYZxyz(10.7741, 6.7722, 8.7208)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2D52 #2D7C57
analogous
#7C2D79 #7C2D52 #7C2F2D
triadic
#7C2D52 #527C2D #2D527C
tetradic
#7C2D52 #797C2D #2D7C57 #2F2D7C
square
#7C2D52 #797C2D #2D7C57 #2F2D7C
split-complementary
#7C2D52 #2D7C2F #2D797C
monochromatic
#220C17 #4F1D34 #7C2D52 #A93D70 #C55F8E

Accessibility & contrast

On white

8.92
#7C2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7C2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2D52
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2D52#FFFFFF#000000##FFFFFF
##7C2D521.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394153
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#85283C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c2d52;
/* rgb */ color: rgb(124, 45, 82);
/* oklch */ color: oklch(42.3% 0.117 354.2);
Tailwind
colors: {
  custom: {
    50: '#a56b82',
    500: '#7c2d52',
    950: '#000000',
  },
}
SCSS
$custom: #7c2d52;
$custom-light: #a56b82;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2d52",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 331.899,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42293,
    "c": 0.11695,
    "h": 354.2
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#7C2D52
secondary
#5AAB85
accent
#D69851
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7C2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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