#7C2B5D#7C2B5D

#7C2B5D is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.5% C 0.126 H 345.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7C2B5D
RGBrgb(124, 43, 93)
HSLhsl(323, 49%, 33%)
HSVhsv(323, 65%, 49%)
CMYKcmyk(0%, 65.3%, 25%, 51.4%)
CIE-LABlab(31.36, 40.66, -11.72)
CIE-LCHlch(31.36, 42.31, 343.92°)
OKLaboklab(42.49% 0.1226 -0.031)
OKLCHoklch(42.49% 0.126 345.8)
XYZxyz(11.1522, 6.8042, 11.0798)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2B5D #2B7C4A
analogous
#722B7C #7C2B5D #7C2B34
triadic
#7C2B5D #5D7C2B #2B5D7C
tetradic
#7C2B5D #7C722B #2B7C4A #2B347C
square
#7C2B5D #7C722B #2B7C4A #2B347C
split-complementary
#7C2B5D #347C2B #2B7C72
monochromatic
#210B19 #4F1B3B #7C2B5D #A93B7F #C65B9D

Accessibility & contrast

On white

8.90
#7C2B5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7C2B5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2B5D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2B5D#FFFFFF#000000##FFFFFF
##7C2B5D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#4B4F5B
Tritanopia (blue-blind)
#842A40
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c2b5d;
/* rgb */ color: rgb(124, 43, 93);
/* oklch */ color: oklch(42.5% 0.126 345.8);
Tailwind
colors: {
  custom: {
    50: '#a56a8b',
    500: '#7c2b5d',
    950: '#000000',
  },
}
SCSS
$custom: #7c2b5d;
$custom-light: #a56a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2b5d",
  "rgb": {
    "r": 124,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 322.963,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42486,
    "c": 0.12642,
    "h": 345.8
  },
  "luminance": 0.06803
}

Semantic roles & 50–950 ramp

primary
#7C2B5D
secondary
#57AC77
accent
#D88450
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7C2B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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