#DD42BA#DD42BA

#DD42BA is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 64.1% C 0.226 H 338.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#DD42BA
RGBrgb(221, 66, 186)
HSLhsl(314, 70%, 56%)
HSVhsv(314, 70%, 87%)
CMYKcmyk(0%, 70.1%, 15.8%, 13.3%)
CIE-LABlab(54.88, 71.12, -30.75)
CIE-LCHlch(54.88, 77.48, 336.62°)
OKLaboklab(64.1% 0.2105 -0.0833)
OKLCHoklch(64.1% 0.226 338.4)
XYZxyz(40.6308, 22.8175, 48.7092)
Luminance0.2281 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42BA #42DD65
analogous
#B242DD #DD42BA #DD426D
triadic
#DD42BA #BADD42 #42BADD
tetradic
#DD42BA #DDB242 #42DD65 #426DDD
square
#DD42BA #DDB242 #42DD65 #426DDD
split-complementary
#DD42BA #6DDD42 #42DDB2
monochromatic
#8C1972 #BF229C #DD42BA #E676CD #F0AAE0

Accessibility & contrast

On white

3.78
#DD42BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#DD42BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42BA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42BA#FFFFFF#000000##000000
##DD42BA1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#7C8CB6
Tritanopia (blue-blind)
#E94979
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #dd42ba;
/* rgb */ color: rgb(221, 66, 186);
/* oklch */ color: oklch(64.1% 0.226 338.4);
Tailwind
colors: {
  custom: {
    50: '#ec83cf',
    500: '#dd42ba',
    950: '#000000',
  },
}
SCSS
$custom: #dd42ba;
$custom-light: #ec83cf;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42ba",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 186
  },
  "hsl": {
    "h": 313.548,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64096,
    "c": 0.22641,
    "h": 338.4
  },
  "luminance": 0.22814
}

Semantic roles & 50–950 ramp

primary
#DD42BA
secondary
#9DDDAC
accent
#EC633B
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #DD42BA

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

Preview Lab → · Contrast checker → · Palette generator →

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