#D130A7#D130A7

#D130A7 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.9% C 0.226 H 341.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#D130A7
RGBrgb(209, 48, 167)
HSLhsl(316, 64%, 50%)
HSVhsv(316, 77%, 82%)
CMYKcmyk(0%, 77%, 20.1%, 18%)
CIE-LABlab(50.05, 71.36, -27.31)
CIE-LCHlch(50.05, 76.41, 339.06°)
OKLaboklab(59.95% 0.2139 -0.0736)
OKLCHoklch(59.95% 0.226 341)
XYZxyz(34.3276, 18.4628, 38.3076)
Luminance0.1846 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D130A7 #30D15A
analogous
#AA30D1 #D130A7 #D13057
triadic
#D130A7 #A7D130 #30A7D1
tetradic
#D130A7 #D1AA30 #30D15A #3057D1
square
#D130A7 #D1AA30 #30D15A #3057D1
split-complementary
#D130A7 #57D130 #30D1AA
monochromatic
#6E1858 #A02480 #D130A7 #DC62BC #E794D2

Accessibility & contrast

On white

4.48
#D130A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#D130A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D130A7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D130A7#FFFFFF#000000##000000
##D130A71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F67AA
Deuteranopia (green-blind)
#7380A3
Tritanopia (blue-blind)
#DE3469
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d130a7;
/* rgb */ color: rgb(209, 48, 167);
/* oklch */ color: oklch(59.9% 0.226 341.0);
Tailwind
colors: {
  custom: {
    50: '#e47ac1',
    500: '#d130a7',
    950: '#000000',
  },
}
SCSS
$custom: #d130a7;
$custom-light: #e47ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#d130a7",
  "rgb": {
    "r": 209,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 315.652,
    "s": 63.636,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59948,
    "c": 0.22619,
    "h": 341
  },
  "luminance": 0.18459
}

Semantic roles & 50–950 ramp

primary
#D130A7
secondary
#8AD29D
accent
#E76C41
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D130A7

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

Preview Lab → · Contrast checker → · Palette generator →

#D130A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva