#D147A7#D147A7

#D147A7 is a mid, highly saturated pink. Relative luminance 0.209; OKLCH L 61.9% C 0.200 H 342.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D147A7
RGBrgb(209, 71, 167)
HSLhsl(318, 60%, 55%)
HSVhsv(318, 66%, 82%)
CMYKcmyk(0%, 66%, 20.1%, 18%)
CIE-LABlab(52.79, 63.65, -23.07)
CIE-LCHlch(52.79, 67.70, 340.07°)
OKLaboklab(61.94% 0.1904 -0.0618)
OKLCHoklch(61.94% 0.2 342)
XYZxyz(35.5238, 20.8552, 38.7063)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D147A7 #47D171
analogous
#B647D1 #D147A7 #D14762
triadic
#D147A7 #A7D147 #47A7D1
tetradic
#D147A7 #D1B647 #47D171 #4762D1
square
#D147A7 #D1B647 #47D171 #4762D1
split-complementary
#D147A7 #62D147 #47D1B6
monochromatic
#7E2061 #AF2C87 #D147A7 #DD78BE #E9A9D6

Accessibility & contrast

On white

4.06
#D147A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#D147A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D147A7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D147A7#FFFFFF#000000##000000
##D147A71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#7C86A4
Tritanopia (blue-blind)
#DD4871
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d147a7;
/* rgb */ color: rgb(209, 71, 167);
/* oklch */ color: oklch(61.9% 0.200 342.0);
Tailwind
colors: {
  custom: {
    50: '#e384c1',
    500: '#d147a7',
    950: '#000000',
  },
}
SCSS
$custom: #d147a7;
$custom-light: #e384c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d147a7",
  "rgb": {
    "r": 209,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 318.261,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61937,
    "c": 0.20019,
    "h": 342
  },
  "luminance": 0.20852
}

Semantic roles & 50–950 ramp

primary
#D147A7
secondary
#9DD7AF
accent
#E37545
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D147A7

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

Preview Lab → · Contrast checker → · Palette generator →

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