#DF42B7#DF42B7

#DF42B7 is a light, highly saturated pink. Relative luminance 0.230; OKLCH L 64.3% C 0.226 H 339.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#DF42B7
RGBrgb(223, 66, 183)
HSLhsl(315, 71%, 57%)
HSVhsv(315, 70%, 87%)
CMYKcmyk(0%, 70.4%, 17.9%, 12.5%)
CIE-LABlab(55.08, 71.19, -28.68)
CIE-LCHlch(55.08, 76.75, 338.06°)
OKLaboklab(64.26% 0.212 -0.0774)
OKLCHoklch(64.26% 0.226 339.9)
XYZxyz(40.9280, 23.0072, 47.0759)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42B7 #42DF6A
analogous
#B942DF #DF42B7 #DF4269
triadic
#DF42B7 #B7DF42 #42B7DF
tetradic
#DF42B7 #DFB942 #42DF6A #4269DF
square
#DF42B7 #DFB942 #42DF6A #4269DF
split-complementary
#DF42B7 #69DF42 #42DFB9
monochromatic
#8E1870 #C3219A #DF42B7 #E876CB #F1ABDF

Accessibility & contrast

On white

3.75
#DF42B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#DF42B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42B7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42B7#FFFFFF#000000##000000
##DF42B71.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BA
Deuteranopia (green-blind)
#7E8DB3
Tritanopia (blue-blind)
#EC4777
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df42b7;
/* rgb */ color: rgb(223, 66, 183);
/* oklch */ color: oklch(64.3% 0.226 339.9);
Tailwind
colors: {
  custom: {
    50: '#ed83cd',
    500: '#df42b7',
    950: '#000000',
  },
}
SCSS
$custom: #df42b7;
$custom-light: #ed83cd;
$custom-dark: #000000;
JSON
{
  "hex": "#df42b7",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 315.287,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.64258,
    "c": 0.2257,
    "h": 339.9
  },
  "luminance": 0.23003
}

Semantic roles & 50–950 ramp

primary
#DF42B7
secondary
#9EDFAF
accent
#EE683A
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C13
muted
#857D82

Preview Lab

Preview with #DF42B7

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

Preview Lab → · Contrast checker → · Palette generator →

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