#D9247E#D9247E

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

Color values

HEX#D9247E
RGBrgb(217, 36, 126)
HSLhsl(330, 72%, 50%)
HSVhsv(330, 83%, 85%)
CMYKcmyk(0%, 83.4%, 41.9%, 14.9%)
CIE-LABlab(48.91, 71.67, -4.32)
CIE-LCHlch(48.91, 71.80, 356.55°)
OKLaboklab(58.88% 0.2208 -0.0105)
OKLCHoklch(58.88% 0.221 357.3)
XYZxyz(33.0146, 17.5243, 21.3787)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9247E #24D97F
analogous
#D924D9 #D9247E #D92524
triadic
#D9247E #7ED924 #247ED9
tetradic
#D9247E #D9D924 #24D97F #2524D9
square
#D9247E #D9D924 #24D97F #2524D9
split-complementary
#D9247E #24D925 #24D9D9
monochromatic
#701341 #A51B60 #D9247E #E3579D #EC8CBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9247E#FFFFFF#000000##FFFFFF
##D9247E1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F80
Deuteranopia (green-blind)
#82807A
Tritanopia (blue-blind)
#EB004F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d9247e;
/* rgb */ color: rgb(217, 36, 126);
/* oklch */ color: oklch(58.9% 0.221 357.3);
Tailwind
colors: {
  custom: {
    50: '#eb75a3',
    500: '#d9247e',
    950: '#000000',
  },
}
SCSS
$custom: #d9247e;
$custom-light: #eb75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d9247e",
  "rgb": {
    "r": 217,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 330.166,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58877,
    "c": 0.22106,
    "h": 357.3
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#D9247E
secondary
#83D6AD
accent
#EE943A
background
#FFF7FA
surface
#FFEEF3
border
#D7C9CD
text
#170A0F
muted
#857C7F

Preview Lab

Preview with #D9247E

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

Preview Lab → · Contrast checker → · Palette generator →

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