#7D2A6E#7D2A6E

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

Color values

HEX#7D2A6E
RGBrgb(125, 42, 110)
HSLhsl(311, 50%, 33%)
HSVhsv(311, 66%, 49%)
CMYKcmyk(0%, 66.4%, 12%, 51%)
CIE-LABlab(32.13, 44.07, -21.42)
CIE-LCHlch(32.13, 49.00, 334.07°)
OKLaboklab(43.34% 0.1286 -0.0583)
OKLCHoklch(43.34% 0.141 335.6)
XYZxyz(12.1000, 7.1427, 15.4902)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A6E #2A7D39
analogous
#622A7D #7D2A6E #7D2A45
triadic
#7D2A6E #6E7D2A #2A6E7D
tetradic
#7D2A6E #7D622A #2A7D39 #2A457D
square
#7D2A6E #7D622A #2A7D39 #2A457D
split-complementary
#7D2A6E #457D2A #2A7D62
monochromatic
#210B1D #4F1B46 #7D2A6E #AB3996 #C85AB4

Accessibility & contrast

On white

8.65
#7D2A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7D2A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A6E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A6E#FFFFFF#000000##FFFFFF
##7D2A6E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4470
Deuteranopia (green-blind)
#45506C
Tritanopia (blue-blind)
#832F48
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2a6e;
/* rgb */ color: rgb(125, 42, 110);
/* oklch */ color: oklch(43.3% 0.141 335.6);
Tailwind
colors: {
  custom: {
    50: '#a56a98',
    500: '#7d2a6e',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a6e;
$custom-light: #a56a98;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a6e",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 310.843,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43336,
    "c": 0.14114,
    "h": 335.6
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#7D2A6E
secondary
#56AD65
accent
#D9684F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D2A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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