#DF42B5#DF42B5

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

Color values

HEX#DF42B5
RGBrgb(223, 66, 181)
HSLhsl(316, 71%, 57%)
HSVhsv(316, 70%, 87%)
CMYKcmyk(0%, 70.4%, 18.8%, 12.5%)
CIE-LABlab(54.99, 70.92, -27.65)
CIE-LCHlch(54.99, 76.12, 338.70°)
OKLaboklab(64.17% 0.2117 -0.0745)
OKLCHoklch(64.17% 0.224 340.6)
XYZxyz(40.7213, 22.9246, 45.9874)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42B5 #42DF6C
analogous
#BB42DF #DF42B5 #DF4267
triadic
#DF42B5 #B5DF42 #42B5DF
tetradic
#DF42B5 #DFBB42 #42DF6C #4267DF
square
#DF42B5 #DFBB42 #42DF6C #4267DF
split-complementary
#DF42B5 #67DF42 #42DFBB
monochromatic
#8E186F #C32198 #DF42B5 #E876C9 #F1ABDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF42B5#FFFFFF#000000##000000
##DF42B51.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)
#4D74B8
Deuteranopia (green-blind)
#7F8DB1
Tritanopia (blue-blind)
#EC4676
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df42b5;
/* rgb */ color: rgb(223, 66, 181);
/* oklch */ color: oklch(64.2% 0.224 340.6);
Tailwind
colors: {
  custom: {
    50: '#ed83cb',
    500: '#df42b5',
    950: '#000000',
  },
}
SCSS
$custom: #df42b5;
$custom-light: #ed83cb;
$custom-dark: #000000;
JSON
{
  "hex": "#df42b5",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 316.051,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64168,
    "c": 0.22442,
    "h": 340.6
  },
  "luminance": 0.22921
}

Semantic roles & 50–950 ramp

primary
#DF42B5
secondary
#9EDFAF
accent
#EE6A3A
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DF42B5

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

Preview Lab → · Contrast checker → · Palette generator →

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