#D247A7#D247A7

#D247A7 is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.1% C 0.201 H 342.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#D247A7
RGBrgb(210, 71, 167)
HSLhsl(319, 61%, 55%)
HSVhsv(319, 66%, 82%)
CMYKcmyk(0%, 66.2%, 20.5%, 17.6%)
CIE-LABlab(52.95, 63.91, -22.81)
CIE-LCHlch(52.95, 67.86, 340.36°)
OKLaboklab(62.09% 0.1914 -0.0611)
OKLCHoklch(62.09% 0.201 342.3)
XYZxyz(35.8077, 21.0016, 38.7196)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D247A7 #47D272
analogous
#B747D2 #D247A7 #D24761
triadic
#D247A7 #A7D247 #47A7D2
tetradic
#D247A7 #D2B747 #47D272 #4761D2
square
#D247A7 #D2B747 #47D272 #4761D2
split-complementary
#D247A7 #61D247 #47D2B7
monochromatic
#7F1F62 #B12B87 #D247A7 #DE78BF #EAA9D6

Accessibility & contrast

On white

4.04
#D247A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D247A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D247A7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D247A7#FFFFFF#000000##000000
##D247A71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d247a7;
/* rgb */ color: rgb(210, 71, 167);
/* oklch */ color: oklch(62.1% 0.201 342.3);
Tailwind
colors: {
  custom: {
    50: '#e384c1',
    500: '#d247a7',
    950: '#000000',
  },
}
SCSS
$custom: #d247a7;
$custom-light: #e384c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d247a7",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 318.561,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62086,
    "c": 0.20088,
    "h": 342.3
  },
  "luminance": 0.20998
}

Semantic roles & 50–950 ramp

primary
#D247A7
secondary
#9DD8AF
accent
#E47544
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #D247A7

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

Preview Lab → · Contrast checker → · Palette generator →

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