#D9247D#D9247D

#D9247D is a mid, highly saturated pink. Relative luminance 0.175; OKLCH L 58.8% C 0.221 H 357.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#D9247D
RGBrgb(217, 36, 125)
HSLhsl(330, 72%, 50%)
HSVhsv(330, 83%, 85%)
CMYKcmyk(0%, 83.4%, 42.4%, 14.9%)
CIE-LABlab(48.88, 71.58, -3.76)
CIE-LCHlch(48.88, 71.68, 356.99°)
OKLaboklab(58.84% 0.2205 -0.009)
OKLCHoklch(58.84% 0.221 357.7)
XYZxyz(32.9504, 17.4986, 21.0405)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9247D #24D980
analogous
#D924D8 #D9247D #D92524
triadic
#D9247D #7DD924 #247DD9
tetradic
#D9247D #D8D924 #24D980 #2524D9
square
#D9247D #D8D924 #24D980 #2524D9
split-complementary
#D9247D #24D925 #24D8D9
monochromatic
#701341 #A51B5F #D9247D #E3579C #EC8CBB

Accessibility & contrast

On white

4.67
#D9247D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#D9247D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D9247D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9247D#FFFFFF#000000##FFFFFF
##D9247D1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F7F
Deuteranopia (green-blind)
#828079
Tritanopia (blue-blind)
#EB004F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d9247d;
/* rgb */ color: rgb(217, 36, 125);
/* oklch */ color: oklch(58.8% 0.221 357.7);
Tailwind
colors: {
  custom: {
    50: '#eb75a2',
    500: '#d9247d',
    950: '#000000',
  },
}
SCSS
$custom: #d9247d;
$custom-light: #eb75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d9247d",
  "rgb": {
    "r": 217,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 330.497,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58844,
    "c": 0.22069,
    "h": 357.7
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#D9247D
secondary
#83D6AD
accent
#EE953A
background
#FFF7F9
surface
#FFEEF2
border
#D7C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D9247D

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

Preview Lab → · Contrast checker → · Palette generator →

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