#7D2A5E#7D2A5E

#7D2A5E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.129 H 345.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7D2A5E
RGBrgb(125, 42, 94)
HSLhsl(322, 50%, 33%)
HSVhsv(322, 66%, 49%)
CMYKcmyk(0%, 66.4%, 24.8%, 51%)
CIE-LABlab(31.41, 41.57, -12.28)
CIE-LCHlch(31.41, 43.34, 343.54°)
OKLaboklab(42.57% 0.1253 -0.0326)
OKLCHoklch(42.57% 0.129 345.4)
XYZxyz(11.3062, 6.8252, 11.3095)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A5E #2A7D49
analogous
#732A7D #7D2A5E #7D2A34
triadic
#7D2A5E #5E7D2A #2A5E7D
tetradic
#7D2A5E #7D732A #2A7D49 #2A347D
square
#7D2A5E #7D732A #2A7D49 #2A347D
split-complementary
#7D2A5E #347D2A #2A7D73
monochromatic
#210B19 #4F1B3C #7D2A5E #AB3980 #C85A9F

Accessibility & contrast

On white

8.88
#7D2A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2A5E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A5E#FFFFFF#000000##FFFFFF
##7D2A5E1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334160
Deuteranopia (green-blind)
#4B4F5C
Tritanopia (blue-blind)
#852940
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2a5e;
/* rgb */ color: rgb(125, 42, 94);
/* oklch */ color: oklch(42.6% 0.129 345.4);
Tailwind
colors: {
  custom: {
    50: '#a6698b',
    500: '#7d2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a5e;
$custom-light: #a6698b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a5e",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 322.41,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.12944,
    "h": 345.4
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#7D2A5E
secondary
#56AD76
accent
#D9824F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7D2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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