#DF45B7#DF45B7

#DF45B7 is a light, highly saturated pink. Relative luminance 0.234; OKLCH L 64.5% C 0.222 H 340.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#DF45B7
RGBrgb(223, 69, 183)
HSLhsl(316, 71%, 57%)
HSVhsv(316, 69%, 87%)
CMYKcmyk(0%, 69.1%, 17.9%, 12.5%)
CIE-LABlab(55.45, 70.16, -28.11)
CIE-LCHlch(55.45, 75.58, 338.17°)
OKLaboklab(64.53% 0.2089 -0.0758)
OKLCHoklch(64.53% 0.222 340.1)
XYZxyz(41.1079, 23.3670, 47.1359)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF45B7 #45DF6D
analogous
#BA45DF #DF45B7 #DF456A
triadic
#DF45B7 #B7DF45 #45B7DF
tetradic
#DF45B7 #DFBA45 #45DF6D #456ADF
square
#DF45B7 #DFBA45 #45DF6D #456ADF
split-complementary
#DF45B7 #6ADF45 #45DFBA
monochromatic
#911972 #C5229B #DF45B7 #E879CB #F1ADDF

Accessibility & contrast

On white

3.70
#DF45B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#DF45B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF45B7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF45B7#FFFFFF#000000##000000
##DF45B71.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F75BA
Deuteranopia (green-blind)
#808EB3
Tritanopia (blue-blind)
#EC4978
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #df45b7;
/* rgb */ color: rgb(223, 69, 183);
/* oklch */ color: oklch(64.5% 0.222 340.1);
Tailwind
colors: {
  custom: {
    50: '#ed85cd',
    500: '#df45b7',
    950: '#000000',
  },
}
SCSS
$custom: #df45b7;
$custom-light: #ed85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#df45b7",
  "rgb": {
    "r": 223,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 315.584,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64526,
    "c": 0.2222,
    "h": 340.1
  },
  "luminance": 0.23363
}

Semantic roles & 50–950 ramp

primary
#DF45B7
secondary
#A1DFB1
accent
#ED693A
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #DF45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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