#7D2A5F#7D2A5F

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

Color values

HEX#7D2A5F
RGBrgb(125, 42, 95)
HSLhsl(322, 50%, 33%)
HSVhsv(322, 66%, 49%)
CMYKcmyk(0%, 66.4%, 24%, 51%)
CIE-LABlab(31.45, 41.72, -12.86)
CIE-LCHlch(31.45, 43.65, 342.86°)
OKLaboklab(42.61% 0.1255 -0.0342)
OKLCHoklch(42.61% 0.13 344.8)
XYZxyz(11.3514, 6.8432, 11.5473)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A5F #2A7D48
analogous
#722A7D #7D2A5F #7D2A35
triadic
#7D2A5F #5F7D2A #2A5F7D
tetradic
#7D2A5F #7D722A #2A7D48 #2A357D
square
#7D2A5F #7D722A #2A7D48 #2A357D
split-complementary
#7D2A5F #357D2A #2A7D72
monochromatic
#210B19 #4F1B3C #7D2A5F #AB3982 #C85AA0

Accessibility & contrast

On white

8.87
#7D2A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D2A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A5F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A5F#FFFFFF#000000##FFFFFF
##7D2A5F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2a5f;
/* rgb */ color: rgb(125, 42, 95);
/* oklch */ color: oklch(42.6% 0.130 344.8);
Tailwind
colors: {
  custom: {
    50: '#a6698c',
    500: '#7d2a5f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a5f;
$custom-light: #a6698c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a5f",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 321.687,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42614,
    "c": 0.13011,
    "h": 344.8
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#7D2A5F
secondary
#56AD75
accent
#D9814F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7D2A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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