#D1289F#D1289F

#D1289F is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 59.1% C 0.228 H 343.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#D1289F
RGBrgb(209, 40, 159)
HSLhsl(318, 68%, 49%)
HSVhsv(318, 81%, 82%)
CMYKcmyk(0%, 80.9%, 23.9%, 18%)
CIE-LABlab(48.98, 72.43, -24.22)
CIE-LCHlch(48.98, 76.37, 341.51°)
OKLaboklab(59.06% 0.2191 -0.0648)
OKLCHoklch(59.06% 0.228 343.5)
XYZxyz(33.3127, 17.5798, 34.4331)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1289F #28D15A
analogous
#AE28D1 #D1289F #D1284B
triadic
#D1289F #9FD128 #289FD1
tetradic
#D1289F #D1AE28 #28D15A #284BD1
square
#D1289F #D1AE28 #28D15A #284BD1
split-complementary
#D1289F #4BD128 #28D1AE
monochromatic
#6A1451 #9E1E78 #D1289F #DF57B7 #E98BCD

Accessibility & contrast

On white

4.65
#D1289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#D1289F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D1289F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1289F#FFFFFF#000000##FFFFFF
##D1289F1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A2
Deuteranopia (green-blind)
#747E9B
Tritanopia (blue-blind)
#DF2862
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d1289f;
/* rgb */ color: rgb(209, 40, 159);
/* oklch */ color: oklch(59.1% 0.228 343.5);
Tailwind
colors: {
  custom: {
    50: '#e477bb',
    500: '#d1289f',
    950: '#000000',
  },
}
SCSS
$custom: #d1289f;
$custom-light: #e477bb;
$custom-dark: #000000;
JSON
{
  "hex": "#d1289f",
  "rgb": {
    "r": 209,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 317.751,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59062,
    "c": 0.22849,
    "h": 343.5
  },
  "luminance": 0.17576
}

Semantic roles & 50–950 ramp

primary
#D1289F
secondary
#82D39A
accent
#EB703D
background
#FEF7FB
surface
#FDEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #D1289F

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

Preview Lab → · Contrast checker → · Palette generator →

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