#7D2A6D#7D2A6D

#7D2A6D is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.3% C 0.140 H 336.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7D2A6D
RGBrgb(125, 42, 109)
HSLhsl(312, 50%, 33%)
HSVhsv(312, 66%, 49%)
CMYKcmyk(0%, 66.4%, 12.8%, 51%)
CIE-LABlab(32.08, 43.91, -20.86)
CIE-LCHlch(32.08, 48.61, 334.58°)
OKLaboklab(43.29% 0.1284 -0.0567)
OKLCHoklch(43.29% 0.14 336.2)
XYZxyz(12.0459, 7.1210, 15.2051)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A6D #2A7D3A
analogous
#632A7D #7D2A6D #7D2A44
triadic
#7D2A6D #6D7D2A #2A6D7D
tetradic
#7D2A6D #7D632A #2A7D3A #2A447D
square
#7D2A6D #7D632A #2A7D3A #2A447D
split-complementary
#7D2A6D #447D2A #2A7D63
monochromatic
#210B1D #4F1B45 #7D2A6D #AB3995 #C85AB2

Accessibility & contrast

On white

8.66
#7D2A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D2A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A6D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A6D#FFFFFF#000000##FFFFFF
##7D2A6D1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B436F
Deuteranopia (green-blind)
#46506B
Tritanopia (blue-blind)
#832F47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2a6d;
/* rgb */ color: rgb(125, 42, 109);
/* oklch */ color: oklch(43.3% 0.140 336.2);
Tailwind
colors: {
  custom: {
    50: '#a56a97',
    500: '#7d2a6d',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a6d;
$custom-light: #a56a97;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a6d",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 311.566,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43285,
    "c": 0.14036,
    "h": 336.2
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#7D2A6D
secondary
#56AD67
accent
#D9694F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D2A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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