#7C2D6C#7C2D6C

#7C2D6C is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.4% C 0.134 H 336.4°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7C2D6C
RGBrgb(124, 45, 108)
HSLhsl(312, 47%, 33%)
HSVhsv(312, 64%, 49%)
CMYKcmyk(0%, 63.7%, 12.9%, 51.4%)
CIE-LABlab(32.36, 42.09, -19.81)
CIE-LCHlch(32.36, 46.52, 334.80°)
OKLaboklab(43.44% 0.1231 -0.0537)
OKLCHoklch(43.44% 0.134 336.4)
XYZxyz(11.9575, 7.2455, 14.9532)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2D6C #2D7C3D
analogous
#642D7C #7C2D6C #7C2D44
triadic
#7C2D6C #6C7C2D #2D6C7C
tetradic
#7C2D6C #7C642D #2D7C3D #2D447C
square
#7C2D6C #7C642D #2D7C3D #2D447C
split-complementary
#7C2D6C #447C2D #2D7C64
monochromatic
#220C1E #4F1D45 #7C2D6C #A93D93 #C55FB0

Accessibility & contrast

On white

8.57
#7C2D6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7C2D6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2D6C
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2D6C#FFFFFF#000000##FFFFFF
##7C2D6C1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446E
Deuteranopia (green-blind)
#47506A
Tritanopia (blue-blind)
#823148
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c2d6c;
/* rgb */ color: rgb(124, 45, 108);
/* oklch */ color: oklch(43.4% 0.134 336.4);
Tailwind
colors: {
  custom: {
    50: '#a46b96',
    500: '#7c2d6c',
    950: '#000000',
  },
}
SCSS
$custom: #7c2d6c;
$custom-light: #a46b96;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2d6c",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 108
  },
  "hsl": {
    "h": 312.152,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4344,
    "c": 0.13429,
    "h": 336.4
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#7C2D6C
secondary
#5AAB6A
accent
#D66C51
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7C2D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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