#D9247F#D9247F

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

Color values

HEX#D9247F
RGBrgb(217, 36, 127)
HSLhsl(330, 72%, 50%)
HSVhsv(330, 83%, 85%)
CMYKcmyk(0%, 83.4%, 41.5%, 14.9%)
CIE-LABlab(48.95, 71.76, -4.88)
CIE-LCHlch(48.95, 71.93, 356.11°)
OKLaboklab(58.91% 0.2211 -0.0119)
OKLCHoklch(58.91% 0.221 356.9)
XYZxyz(33.0795, 17.5502, 21.7202)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9247F #24D97E
analogous
#D924D9 #D9247F #D92425
triadic
#D9247F #7FD924 #247FD9
tetradic
#D9247F #D9D924 #24D97E #2425D9
square
#D9247F #D9D924 #24D97E #2425D9
split-complementary
#D9247F #25D924 #24D9D9
monochromatic
#701342 #A51B60 #D9247F #E3579D #EC8CBC

Accessibility & contrast

On white

4.66
#D9247F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#D9247F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D9247F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9247F#FFFFFF#000000##FFFFFF
##D9247F1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F81
Deuteranopia (green-blind)
#82807B
Tritanopia (blue-blind)
#EB0050
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d9247f;
/* rgb */ color: rgb(217, 36, 127);
/* oklch */ color: oklch(58.9% 0.221 356.9);
Tailwind
colors: {
  custom: {
    50: '#eb75a4',
    500: '#d9247f',
    950: '#000000',
  },
}
SCSS
$custom: #d9247f;
$custom-light: #eb75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9247f",
  "rgb": {
    "r": 217,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 329.834,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.22142,
    "h": 356.9
  },
  "luminance": 0.17546
}

Semantic roles & 50–950 ramp

primary
#D9247F
secondary
#83D6AC
accent
#EE933A
background
#FFF7FA
surface
#FFEEF3
border
#D7C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D9247F

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

Preview Lab → · Contrast checker → · Palette generator →

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