#7D2A5B#7D2A5B

#7D2A5B is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.128 H 347.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7D2A5B
RGBrgb(125, 42, 91)
HSLhsl(325, 50%, 33%)
HSVhsv(325, 66%, 49%)
CMYKcmyk(0%, 66.4%, 27.2%, 51%)
CIE-LABlab(31.28, 41.14, -10.52)
CIE-LCHlch(31.28, 42.46, 345.65°)
OKLaboklab(42.44% 0.1245 -0.0277)
OKLCHoklch(42.44% 0.128 347.5)
XYZxyz(11.1742, 6.7724, 10.6142)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A5B #2A7D4C
analogous
#752A7D #7D2A5B #7D2A32
triadic
#7D2A5B #5B7D2A #2A5B7D
tetradic
#7D2A5B #7D752A #2A7D4C #2A327D
square
#7D2A5B #7D752A #2A7D4C #2A327D
split-complementary
#7D2A5B #327D2A #2A7D75
monochromatic
#210B18 #4F1B3A #7D2A5B #AB397C #C85A9B

Accessibility & contrast

On white

8.92
#7D2A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D2A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A5B
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A5B#FFFFFF#000000##FFFFFF
##7D2A5B1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415C
Deuteranopia (green-blind)
#4C4F59
Tritanopia (blue-blind)
#86283E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d2a5b;
/* rgb */ color: rgb(125, 42, 91);
/* oklch */ color: oklch(42.4% 0.128 347.5);
Tailwind
colors: {
  custom: {
    50: '#a66989',
    500: '#7d2a5b',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a5b;
$custom-light: #a66989;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a5b",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 324.578,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.12754,
    "h": 347.5
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#7D2A5B
secondary
#56AD7A
accent
#D9874F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7D2A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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