#D9247B#D9247B

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

Color values

HEX#D9247B
RGBrgb(217, 36, 123)
HSLhsl(331, 72%, 50%)
HSVhsv(331, 83%, 85%)
CMYKcmyk(0%, 83.4%, 43.3%, 14.9%)
CIE-LABlab(48.82, 71.40, -2.64)
CIE-LCHlch(48.82, 71.45, 357.89°)
OKLaboklab(58.78% 0.2199 -0.006)
OKLCHoklch(58.78% 0.22 358.4)
XYZxyz(32.8239, 17.4480, 20.3744)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9247B #24D982
analogous
#D924D6 #D9247B #D92724
triadic
#D9247B #7BD924 #247BD9
tetradic
#D9247B #D6D924 #24D982 #2724D9
square
#D9247B #D6D924 #24D982 #2724D9
split-complementary
#D9247B #24D927 #24D6D9
monochromatic
#70133F #A51B5D #D9247B #E3579A #EC8CBA

Accessibility & contrast

On white

4.68
#D9247B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #D9247B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9247B#FFFFFF#000000##FFFFFF
##D9247B1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7D
Deuteranopia (green-blind)
#828077
Tritanopia (blue-blind)
#EB004E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d9247b;
/* rgb */ color: rgb(217, 36, 123);
/* oklch */ color: oklch(58.8% 0.220 358.4);
Tailwind
colors: {
  custom: {
    50: '#eb75a1',
    500: '#d9247b',
    950: '#000000',
  },
}
SCSS
$custom: #d9247b;
$custom-light: #eb75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9247b",
  "rgb": {
    "r": 217,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 331.16,
    "s": 71.542,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.21999,
    "h": 358.4
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#D9247B
secondary
#83D6AE
accent
#EE973A
background
#FFF7F9
surface
#FFEEF2
border
#D7C9CC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D9247B

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

Preview Lab → · Contrast checker → · Palette generator →

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