#D9247C#D9247C

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

Color values

HEX#D9247C
RGBrgb(217, 36, 124)
HSLhsl(331, 72%, 50%)
HSVhsv(331, 83%, 85%)
CMYKcmyk(0%, 83.4%, 42.9%, 14.9%)
CIE-LABlab(48.85, 71.49, -3.20)
CIE-LCHlch(48.85, 71.56, 357.44°)
OKLaboklab(58.81% 0.2202 -0.0075)
OKLCHoklch(58.81% 0.22 358)
XYZxyz(32.8868, 17.4732, 20.7058)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9247C #24D981
analogous
#D924D7 #D9247C #D92724
triadic
#D9247C #7CD924 #247CD9
tetradic
#D9247C #D7D924 #24D981 #2724D9
square
#D9247C #D7D924 #24D981 #2724D9
split-complementary
#D9247C #24D927 #24D7D9
monochromatic
#701340 #A51B5E #D9247C #E3579B #EC8CBA

Accessibility & contrast

On white

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

On black

4.49
#D9247C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##D9247C#FFFFFF#000000##FFFFFF
##D9247C1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515F7E
Deuteranopia (green-blind)
#828078
Tritanopia (blue-blind)
#EB004E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d9247c;
/* rgb */ color: rgb(217, 36, 124);
/* oklch */ color: oklch(58.8% 0.220 358.0);
Tailwind
colors: {
  custom: {
    50: '#eb75a1',
    500: '#d9247c',
    950: '#000000',
  },
}
SCSS
$custom: #d9247c;
$custom-light: #eb75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9247c",
  "rgb": {
    "r": 217,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 330.829,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58811,
    "c": 0.22035,
    "h": 358
  },
  "luminance": 0.17469
}

Semantic roles & 50–950 ramp

primary
#D9247C
secondary
#83D6AE
accent
#EE963A
background
#FFF7F9
surface
#FFEEF2
border
#D7C9CC
text
#170A0F
muted
#857C7E

Preview Lab

Preview with #D9247C

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

Preview Lab → · Contrast checker → · Palette generator →

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