#DD42B1#DD42B1

#DD42B1 is a light, highly saturated pink. Relative luminance 0.224; OKLCH L 63.7% C 0.221 H 341.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#DD42B1
RGBrgb(221, 66, 177)
HSLhsl(317, 70%, 56%)
HSVhsv(317, 70%, 87%)
CMYKcmyk(0%, 70.1%, 19.9%, 13.3%)
CIE-LABlab(54.50, 69.90, -26.12)
CIE-LCHlch(54.50, 74.62, 339.51°)
OKLaboklab(63.69% 0.2092 -0.0702)
OKLCHoklch(63.69% 0.221 341.5)
XYZxyz(39.7040, 22.4468, 43.8281)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD42B1 #42DD6E
analogous
#BC42DD #DD42B1 #DD4264
triadic
#DD42B1 #B1DD42 #42B1DD
tetradic
#DD42B1 #DDBC42 #42DD6E #4264DD
square
#DD42B1 #DDBC42 #42DD6E #4264DD
split-complementary
#DD42B1 #64DD42 #42DDBC
monochromatic
#8C196B #BF2293 #DD42B1 #E676C6 #F0AADC

Accessibility & contrast

On white

3.83
#DD42B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#DD42B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD42B1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD42B1#FFFFFF#000000##000000
##DD42B11.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B4
Deuteranopia (green-blind)
#7F8BAD
Tritanopia (blue-blind)
#EA4574
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #dd42b1;
/* rgb */ color: rgb(221, 66, 177);
/* oklch */ color: oklch(63.7% 0.221 341.5);
Tailwind
colors: {
  custom: {
    50: '#ec83c8',
    500: '#dd42b1',
    950: '#000000',
  },
}
SCSS
$custom: #dd42b1;
$custom-light: #ec83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#dd42b1",
  "rgb": {
    "r": 221,
    "g": 66,
    "b": 177
  },
  "hsl": {
    "h": 317.032,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6369,
    "c": 0.22066,
    "h": 341.5
  },
  "luminance": 0.22443
}

Semantic roles & 50–950 ramp

primary
#DD42B1
secondary
#9DDDB0
accent
#EC6E3B
background
#FFF8FC
surface
#FEF0F8
border
#D6CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DD42B1

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

Preview Lab → · Contrast checker → · Palette generator →

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