#DF40BA#DF40BA

#DF40BA is a light, highly saturated pink. Relative luminance 0.229; OKLCH L 64.2% C 0.230 H 338.9°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#DF40BA
RGBrgb(223, 64, 186)
HSLhsl(314, 71%, 56%)
HSVhsv(314, 71%, 87%)
CMYKcmyk(0%, 71.3%, 16.6%, 12.5%)
CIE-LABlab(54.97, 72.27, -30.58)
CIE-LCHlch(54.97, 78.47, 337.06°)
OKLaboklab(64.22% 0.2144 -0.0828)
OKLCHoklch(64.22% 0.23 338.9)
XYZxyz(41.1287, 22.9038, 48.6997)
Luminance0.2290 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF40BA #40DF65
analogous
#B440DF #DF40BA #DF406B
triadic
#DF40BA #BADF40 #40BADF
tetradic
#DF40BA #DFB440 #40DF65 #406BDF
square
#DF40BA #DFB440 #40DF65 #406BDF
split-complementary
#DF40BA #6BDF40 #40DFB4
monochromatic
#8D1872 #C1209C #DF40BA #E874CD #F1A9E0

Accessibility & contrast

On white

3.76
#DF40BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#DF40BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF40BA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF40BA#FFFFFF#000000##000000
##DF40BA1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#7C8DB6
Tritanopia (blue-blind)
#EB4778
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df40ba;
/* rgb */ color: rgb(223, 64, 186);
/* oklch */ color: oklch(64.2% 0.230 338.9);
Tailwind
colors: {
  custom: {
    50: '#ed83cf',
    500: '#df40ba',
    950: '#000000',
  },
}
SCSS
$custom: #df40ba;
$custom-light: #ed83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#df40ba",
  "rgb": {
    "r": 223,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 313.962,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64223,
    "c": 0.22986,
    "h": 338.9
  },
  "luminance": 0.229
}

Semantic roles & 50–950 ramp

primary
#DF40BA
secondary
#9DDEAC
accent
#EE643A
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DF40BA

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

Preview Lab → · Contrast checker → · Palette generator →

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