#DF42BF#DF42BF

#DF42BF is a light, highly saturated pink. Relative luminance 0.233; OKLCH L 64.6% C 0.231 H 337.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#DF42BF
RGBrgb(223, 66, 191)
HSLhsl(312, 71%, 57%)
HSVhsv(312, 70%, 87%)
CMYKcmyk(0%, 70.4%, 14.3%, 12.5%)
CIE-LABlab(55.43, 72.29, -32.76)
CIE-LCHlch(55.43, 79.37, 335.62°)
OKLaboklab(64.63% 0.2131 -0.089)
OKLCHoklch(64.63% 0.231 337.3)
XYZxyz(41.7844, 23.3498, 51.5865)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42BF #42DF62
analogous
#B042DF #DF42BF #DF4271
triadic
#DF42BF #BFDF42 #42BFDF
tetradic
#DF42BF #DFB042 #42DF62 #4271DF
square
#DF42BF #DFB042 #42DF62 #4271DF
split-complementary
#DF42BF #71DF42 #42DFB0
monochromatic
#8E1876 #C321A2 #DF42BF #E876D1 #F1ABE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF42BF#FFFFFF#000000##000000
##DF42BF1.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)
#4775C3
Deuteranopia (green-blind)
#7B8DBB
Tritanopia (blue-blind)
#EB4B7B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #df42bf;
/* rgb */ color: rgb(223, 66, 191);
/* oklch */ color: oklch(64.6% 0.231 337.3);
Tailwind
colors: {
  custom: {
    50: '#ed84d2',
    500: '#df42bf',
    950: '#000000',
  },
}
SCSS
$custom: #df42bf;
$custom-light: #ed84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#df42bf",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 312.229,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64627,
    "c": 0.2309,
    "h": 337.3
  },
  "luminance": 0.23346
}

Semantic roles & 50–950 ramp

primary
#DF42BF
secondary
#9EDFAB
accent
#EE5F3A
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DF42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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