#D247B7#D247B7

#D247B7 is a light, highly saturated pink. Relative luminance 0.216; OKLCH L 62.8% C 0.212 H 336.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#D247B7
RGBrgb(210, 71, 183)
HSLhsl(312, 61%, 55%)
HSVhsv(312, 66%, 82%)
CMYKcmyk(0%, 66.2%, 12.9%, 17.6%)
CIE-LABlab(53.63, 66.19, -31.09)
CIE-LCHlch(53.63, 73.13, 334.84°)
OKLaboklab(62.81% 0.194 -0.0845)
OKLCHoklch(62.81% 0.212 336.5)
XYZxyz(37.3793, 21.6302, 46.9970)
Luminance0.2163 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D247B7 #47D262
analogous
#A847D2 #D247B7 #D24771
triadic
#D247B7 #B7D247 #47B7D2
tetradic
#D247B7 #D2A847 #47D262 #4771D2
square
#D247B7 #D2A847 #47D262 #4771D2
split-complementary
#D247B7 #71D247 #47D2A8
monochromatic
#7F1F6D #B12B97 #D247B7 #DE78CA #EAA9DD

Accessibility & contrast

On white

3.94
#D247B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#D247B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D247B7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D247B7#FFFFFF#000000##000000
##D247B71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4973BA
Deuteranopia (green-blind)
#7788B4
Tritanopia (blue-blind)
#DD4F79
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d247b7;
/* rgb */ color: rgb(210, 71, 183);
/* oklch */ color: oklch(62.8% 0.212 336.5);
Tailwind
colors: {
  custom: {
    50: '#e384cd',
    500: '#d247b7',
    950: '#000000',
  },
}
SCSS
$custom: #d247b7;
$custom-light: #e384cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d247b7",
  "rgb": {
    "r": 210,
    "g": 71,
    "b": 183
  },
  "hsl": {
    "h": 311.655,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62805,
    "c": 0.21159,
    "h": 336.5
  },
  "luminance": 0.21627
}

Semantic roles & 50–950 ramp

primary
#D247B7
secondary
#9DD8A9
accent
#E46344
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D247B7

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

Preview Lab → · Contrast checker → · Palette generator →

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