#DF42BE#DF42BE

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

Color values

HEX#DF42BE
RGBrgb(223, 66, 190)
HSLhsl(313, 71%, 57%)
HSVhsv(313, 70%, 87%)
CMYKcmyk(0%, 70.4%, 14.8%, 12.5%)
CIE-LABlab(55.39, 72.15, -32.25)
CIE-LCHlch(55.39, 79.03, 335.92°)
OKLaboklab(64.58% 0.213 -0.0875)
OKLCHoklch(64.58% 0.23 337.7)
XYZxyz(41.6747, 23.3059, 51.0089)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF42BE #42DF63
analogous
#B142DF #DF42BE #DF4270
triadic
#DF42BE #BEDF42 #42BEDF
tetradic
#DF42BE #DFB142 #42DF63 #4270DF
square
#DF42BE #DFB142 #42DF63 #4270DF
split-complementary
#DF42BE #70DF42 #42DFB1
monochromatic
#8E1876 #C321A1 #DF42BE #E876D0 #F1ABE2

Accessibility & contrast

On white

3.71
#DF42BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#DF42BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF42BE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF42BE#FFFFFF#000000##000000
##DF42BE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C1
Deuteranopia (green-blind)
#7C8DBA
Tritanopia (blue-blind)
#EB4A7B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #df42be;
/* rgb */ color: rgb(223, 66, 190);
/* oklch */ color: oklch(64.6% 0.230 337.7);
Tailwind
colors: {
  custom: {
    50: '#ed84d2',
    500: '#df42be',
    950: '#000000',
  },
}
SCSS
$custom: #df42be;
$custom-light: #ed84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#df42be",
  "rgb": {
    "r": 223,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 312.611,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6458,
    "c": 0.23024,
    "h": 337.7
  },
  "luminance": 0.23302
}

Semantic roles & 50–950 ramp

primary
#DF42BE
secondary
#9EDFAC
accent
#EE603A
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DF42BE

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

Preview Lab → · Contrast checker → · Palette generator →

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