#DF42BA#DF42BA

#DF42BA is a light, highly saturated pink. Relative luminance 0.231; OKLCH L 64.4% C 0.228 H 339.0°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#DF42BA
RGBrgb(223, 66, 186)
HSLhsl(314, 71%, 57%)
HSVhsv(314, 70%, 87%)
CMYKcmyk(0%, 70.4%, 16.6%, 12.5%)
CIE-LABlab(55.21, 71.60, -30.22)
CIE-LCHlch(55.21, 77.71, 337.12°)
OKLaboklab(64.39% 0.2124 -0.0817)
OKLCHoklch(64.39% 0.228 339)
XYZxyz(41.2435, 23.1335, 48.7379)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42BA #42DF67
analogous
#B642DF #DF42BA #DF426C
triadic
#DF42BA #BADF42 #42BADF
tetradic
#DF42BA #DFB642 #42DF67 #426CDF
square
#DF42BA #DFB642 #42DF67 #426CDF
split-complementary
#DF42BA #6CDF42 #42DFB6
monochromatic
#8E1873 #C3219D #DF42BA #E876CD #F1ABE0

Accessibility & contrast

On white

3.73
#DF42BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#DF42BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42BA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42BA#FFFFFF#000000##000000
##DF42BA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BD
Deuteranopia (green-blind)
#7D8DB6
Tritanopia (blue-blind)
#EB4879
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df42ba;
/* rgb */ color: rgb(223, 66, 186);
/* oklch */ color: oklch(64.4% 0.228 339.0);
Tailwind
colors: {
  custom: {
    50: '#ed83cf',
    500: '#df42ba',
    950: '#000000',
  },
}
SCSS
$custom: #df42ba;
$custom-light: #ed83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#df42ba",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 314.14,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64394,
    "c": 0.22762,
    "h": 339
  },
  "luminance": 0.2313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF42BA

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

Preview Lab → · Contrast checker → · Palette generator →

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