#DD42C2#DD42C2

#DD42C2 is a light, highly saturated pink. Relative luminance 0.232; OKLCH L 64.5% C 0.232 H 335.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#DD42C2
RGBrgb(221, 66, 194)
HSLhsl(310, 70%, 56%)
HSVhsv(310, 70%, 87%)
CMYKcmyk(0%, 70.1%, 12.2%, 13.3%)
CIE-LABlab(55.24, 72.25, -34.80)
CIE-LCHlch(55.24, 80.19, 334.28°)
OKLaboklab(64.48% 0.2115 -0.0948)
OKLCHoklch(64.48% 0.232 335.8)
XYZxyz(41.5052, 23.1673, 53.3143)
Luminance0.2316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42C2 #42DD5D
analogous
#AB42DD #DD42C2 #DD4275
triadic
#DD42C2 #C2DD42 #42C2DD
tetradic
#DD42C2 #DDAB42 #42DD5D #4275DD
square
#DD42C2 #DDAB42 #42DD5D #4275DD
split-complementary
#DD42C2 #75DD42 #42DDAB
monochromatic
#8C1978 #BF22A4 #DD42C2 #E676D3 #F0AAE3

Accessibility & contrast

On white

3.73
#DD42C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#DD42C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42C2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42C2#FFFFFF#000000##000000
##DD42C21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C6
Deuteranopia (green-blind)
#788DBE
Tritanopia (blue-blind)
#E84D7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #dd42c2;
/* rgb */ color: rgb(221, 66, 194);
/* oklch */ color: oklch(64.5% 0.232 335.8);
Tailwind
colors: {
  custom: {
    50: '#eb83d5',
    500: '#dd42c2',
    950: '#000000',
  },
}
SCSS
$custom: #dd42c2;
$custom-light: #eb83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42c2",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 194
  },
  "hsl": {
    "h": 310.452,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64475,
    "c": 0.23177,
    "h": 335.8
  },
  "luminance": 0.23164
}

Semantic roles & 50–950 ramp

primary
#DD42C2
secondary
#9DDDA9
accent
#EC5A3B
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DD42C2

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

Preview Lab → · Contrast checker → · Palette generator →

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